-
Committer:
Ondřej Kuzník
-
Date:
2013-06-26 11:54:53 UTC
-
Revision ID:
ondrej.kuznik@credativ.co.uk-20130626115453-jzhw2tu4lz2x9qct
[IMP] Implement server-wide session expiration
werkzeug documentation states:
"[sessions] module does not implement methods or ways to check if a session is
expired. That should be done by a cronjob and storage specific. For
example to prune unused filesystem sessions one could check the modified
time of the files. It sessions are stored in the database the new()
method should add an expiration timestamp for the session."
This does not implement the modification time though, just reuses the
expiration predicate used in web.common.http...