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.

Reply via email to