Posted on 2011-03-06
I have a users table that gets updated with a users session id when they login to my website.
I then check the users table to see which users are currently online.
Is there a way to delete the session id from the users table if the users has been inactive after say 20 mins or if they have forgotton to logoff or have simply shut down their browser or PC?
Thanks in advance for your feedback.