<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Tahoma
}
--></style>
</head>
<body class='hmmessage'><div dir='ltr'>
Hi;<br>
I'm trying to get cookies to work and I've traced my problem down to this reduced script:<br>
<br>
#! /usr/bin/python<br>
<br>
import string<br>
import os<br>
import datetime, Cookie, random<br>
import time<br>
import os<br>
<br>
def parse_cookie():<br>
print 'Content-Type: text/html\n'<br>
<br>
print os.environ.get('HTTP_COOKIE')<br>
print '<html><body>'<br>
print '</body></html>'<br>
<br>
if __name__ == "__main__":<br>
parse_cookie()<br>
<br>
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?<br>
TIA,<br>
Jack<br>
</div></body>
</html>