session management
A.M. Kuchling
amk at amk.ca
Mon Aug 9 11:04:45 EDT 2004
On Sun, 08 Aug 2004 14:02:14 +1000,
Ajay Brar <abra9823 at mail.usyd.edu.au> wrote:
> question is what happens when the client does not log out? what if he
> simply leaves the website? i can put a timer on the cookie, but how do i
> cleanup the temp files.
You'd need to run a cron job that periodically cleans up sessions that
haven't been touched in the last 8 or 24 or whatever hours.
> also, is there some python package that already does this and does not
> require any configuration on the webserver (i dont have access to config
> the webserver).
Most web frameworks have support for sessions; for example, Quixote's
support is described at
http://www.mems-exchange.org/software/quixote/doc/session-mgmt.html .
--amk
More information about the Python-list
mailing list