quetz-mod_python-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dharana <dhar...@dharana.net>
Subject Re: [mod_python] Sessions performance and some numbers
Date Sat, 09 Apr 2005 16:36:13 GMT

Nicolas Lehuen wrote:
> I was thinking about this particular optimization, and it seems ok,
> provided the session is saved each time it is accessed. is there an
> access time that could be checked otherwise ?

The session is only saved after a .save() call, like MemorySession and 
DbmSession do. If you load a session and don't .save() it, it won't have 
the _accessed field updated (If I understood correctly the code).

Juan Alonso

View raw message