Problem setting cookie in Internet Explorer

sophie_newbie paulgeeleher at gmail.com
Mon Apr 21 11:13:27 EDT 2008


Hi,

I'm using the python to set a cookie when a user logs in. Thing is it
doesn't seem to be setting properly in Internet Explorer. It works
grand in Firefox. Its basically:

c = Cookie.SimpleCookie()

c['username'] = uname

c['password'] = pword

print c

print pageContent

And thats it. I've a suspicion that it could be something to do with
the expiry time of the cookie. But I'm really not sure and don't
really know where to go with it. I've tried it on Internet Explorer on
2 machines and get the same problem.

Thanks for any help...



More information about the Python-list mailing list