I want to know what is the difference between browser cookies and pseudo random number generated by the server. I will elaborate it- According to me, browser cookies are some random number which is used to authenticate the user to server during the session (This is one type of cookie). There are another types of cookies also like permanent cookies. And pseudo random number which we can see in page source code like
<input type="hidden" name="_token" value="915cdd.............">
Here value
contains that pseudo random number. I think it also serve the same purpose.
I am a little bit confused.
Is they serve the same purpose or they are completely different?