You could simply assume x minutes (eg. 15) without any user action equals to logout. Then all you need is just a small script that runs periodically by cron and does a DB update when inactivity is detected.
- [web2py] Capture the system shut down and browser close... Sanjeet Kumar
- [web2py] Re: Capture the system shut down and brow... Massimo Di Pierro
- Re: [web2py] Re: Capture the system shut down ... Sanjeet Kumar
- [web2py] Re: Capture the system shut down and brow... Alan Etkin
- Re: [web2py] Re: Capture the system shut down ... Sanjeet Kumar
- [web2py] Re: Capture the system shut down and brow... Wikus van de Merwe