Cookies

Anders M Eriksson anders.eriksson at morateknikutveckling.se
Thu Jan 13 11:20:14 EST 2000


On Thu, 13 Jan 2000 15:17:35 +0000 (GMT), Oleg Broytmann
<phd at phd.russ.ru> wrote:

>> import os, Cookie
>> 
>> kaka = Cookie.Cookie(os.environ["HTTP_COOKIE"])

Then I get a KeyError: HTTP_COOKIE

Which probably means that the HTTP_COOKIE environment variable doesn't
exist!?

Any more ideas?

// Anders

PS! I have tried the script on a WinNT+Xitami and a Solaris+Apache
Both failed

---
Enlish isn't my first or second language, 
so anything that you find offending is not there on 
purpose it's just due to the translation ;-)



More information about the Python-list mailing list