- Stash a "session_start" timestamp in the session
- At the start of every request, run a function to check the
"session_start" timestamp against `now`.  if your criteria is met, you
can invalidate the session, update the database, and redirect the
user.

depending on how you set up your requests, i think it would be easiest
do that within an __init__ call on a base controller if your views are
class based, or a subscriber if they are not ( or if they are ).

-- 
You received this message because you are subscribed to the Google Groups 
"pylons-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/pylons-discuss?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to