Hey there! 
I'm using Redis to store sessions. Every session has an expiration time of 
two days. Should I still run sessions2trash.py from time to time?
The answer is not clear to me. The documentation says:


*If session_expiry is not set, sessions will be handled as usual, you'd 
need to cleanup sessions as usual once a while.*
*However, when session_expiry is set will delete automatically sessions 
after n seconds (e.g. if set to 3600, session will expire exactly one hour 
later having been updated the last time), you should occasionally run 
sessions2trash.py just to clean the key holding the set of all the sessions 
previously issued.*

If the answer is affirmative:
 - How frequently should I run sessions2trash.py? 
 - If my web2py instance runs several applications, lets say, a thousand 
apps, will I have to run sessions2trash.py a thousand times, one time for 
each app?

Thanks in advance!
Warm regards,
Lisandro 

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/web2py/1b64e690-348d-4a58-81aa-f8f00910c2d4n%40googlegroups.com.

Reply via email to