Cookies

David A McInnis david at dataovation.com
Mon Nov 19 20:45:31 CET 2001


That is what I understood.  Just checking.  Thanks for the quick response.

David

-----Original Message-----
From: Skip Montanaro [mailto:skip at pobox.com]
Sent: Monday, November 19, 2001 11:11 AM
To: david at dataovation.com
Cc: Python
Subject: Re: Cookies



    David> I want to read the values of a cookie that was placed on my
    David> computer by a web site.  I opened it up and it appears to be
    David> encoded.  Is there anyway to decode the values?

Cookies are nothing more than key/value pairs.  Subject to certain
limitations (length, character set), I believe web sites are welcome to
encode the values any way they want, so the short answer is, "no".  If you
know what steps were taken to encode the value, you may be able to decode
it, but that's not always going to be trivial.

-- 
Skip Montanaro (skip at pobox.com - http://www.mojam.com/)





More information about the Python-list mailing list