>
> Am I right in my understanding that session.keys get write into session 
> file only once when it get define for a given request and in the next 
> request if the session.key1 is still there (unchanged) it won't be re-write 
> to session file?
>

Writes to the session file are not granular -- it's all or nothing. If the 
session changes at all during a request, then the existing session file is 
completely overwritten with the updated version of the session. However, as 
long as the session doesn't change at all during a request, then no write 
is performed. If you have a large session and delete a single key, you will 
prompt a write of the entire remaining session to the file.

Anthony

-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to