I think you can't really pinpoint the session timeout by any means
other than checking it in a constantly-running background process per
session (I think that'd be expensive), or per request.

Think the best idea would be to check session timeout when user status
is requested by anyone, and then mark all qualifying users as offline.

2010/3/12 Aydın ŞEN <[email protected]>:
> Hi,
>
> I need to bind some actions on session timeout, checked documentation but
> couldn't find an answer. How can i do that?
>
> e.g. when session timeout mark that user as offline in db.
>
> --
> Aydın ŞEN
>
>          Ege Üniversitesi
> Uluslararası Bilgisayar Enstitüsü
>
> --
> You received this message because you are subscribed to the Google Groups
> "web.py" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected].
> For more options, visit this group at
> http://groups.google.com/group/webpy?hl=en.
>



-- 
Branko Vukelić

http://foxbunny.tumblr.com/
http://www.flickr.com/photos/16889...@n04/
http://www.twitter.com/foxbunny
http://github.com/foxbunny

-- 
You received this message because you are subscribed to the Google Groups 
"web.py" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/webpy?hl=en.

Reply via email to