Setting a timeout for a cookie
Peter Bengtsson
peterbe at gmail.com
Mon Oct 15 12:35:06 EDT 2007
More information about the Python-list mailing list
Mon Oct 15 12:35:06 EDT 2007
- Previous message (by thread): Setting a timeout for a cookie
- Next message (by thread): Setting a timeout for a cookie
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Oct 15, 4:09 pm, sophie_newbie <paulgeele... at gmail.com> wrote: > Hi, > > I'm wondering how do you set a 'timeout' or expiry date/time for a > cookie set using a python cgi script. I can set a cookie ok but I > dunno how to set the expiry time so it always expires at the end of > the session. > Easy, you don't. It's only if you set a timeout (aka. expires parameter) that it will last longer than the session. Just don't set it and it'll last till the browser is shut down.
- Previous message (by thread): Setting a timeout for a cookie
- Next message (by thread): Setting a timeout for a cookie
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-list mailing list