Problem reading HTTP_COOKIE
jackhatterly at hotmail.com
Fri Aug 12 11:55:33 EDT 2011
I'm trying to get cookies to work and I've traced my problem down to this reduced script:
import datetime, Cookie, random
print 'Content-Type: text/html\n'
if __name__ == "__main__":
It prints "None". However, when I look in my browser's cookie jar, there
is a cookie "www.my_site.com" where my_site is the site from which I am
surfing the above script. What gives?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Python-list