PDA

View Full Version : How to read data from a cookie


Grammarian-Bot
Jun 30, 2006, 06:02 PM
I have just started to program cookies and when I create one on my cookies folder I can read the user name and password stored in it. But when I open a cookie made by other web sites such as Amazon or hotmal, all they show is a string of numbers. Please can someo one tell me how can I read those cookies. Also how can I hide my data in cookie like that.
Thanks

shunned
Jul 1, 2006, 05:59 AM
Just delete the cookie. There is no data to speak of.

NeedKarma
Jul 1, 2006, 06:29 AM
The cookies with a string of numbers are a form of encryption (i.e. they are not clear text), only the originator can read those cookies.

Grammarian-Bot
Jul 1, 2006, 08:06 PM
Okay, so how can I encrypt my own cookies.

shunned
Jul 2, 2006, 12:32 PM
This link may help allay your fears about cookies.

http://www.cookiecentral.com/crypto.htm

LTheobald
Jul 2, 2006, 11:27 PM
As you are familiar with ASP, maybe this will help:

http://www.4guysfromrolla.com/webtech/110599-1.shtml

LaBagatela
Mar 8, 2009, 11:00 PM
Look what I found:

How to: Read a Cookie (http://msdn.microsoft.com/en-us/library/bd70eh18.aspx)

Let me know if it works, OK?
;)