Apache Mod-Python - Re: [mod_python] Sessions performance and some numbers

This is Interesting: Free IT Magazines  
Home > Archive > Apache Mod-Python > April 2005 > Re: [mod_python] Sessions performance and some numbers





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Re: [mod_python] Sessions performance and some numbers
dharana

2005-04-09, 8:45 pm


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).

Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com