help!
is there anyone out there that knows how to read IE5 cookies using python.
i tried this approach but IE5 does not appear to have an environment
variable called HTTP_COOKIE.
------code------
import os, cgi, Cookie
c = Cookie.Cookie()
try:
c.load(os.environ["HTTP_COOKIE"])
except KeyError:
pass
------error-----
Traceback (innermost last):
File "SM/safeexec.py", line 48, in safeexec
func()
File "/usr/local/smn/smurph2/current/redirect.py", line 76, in main
c.load(os.environ["HTTP_COOKIE"])
File "/usr/local/lib/python1.5/UserDict.py", line 14, in __getitem__
def __getitem__(self, key): return self.data[key]
KeyError: HTTP_COOKIE
-tricia
#-----------
Tricia Bowen
Applications Engineer
Starmedia Network
v: 212.520.6469
m: 917.578.3425
************
[EMAIL PROTECTED] http://www.linuxchix.org