coupe-r Posted September 29, 2010 Share Posted September 29, 2010 Hey All, I have a sessions table that is used to see if a user is online. It only gets deleted when they click the Logout button. What I need to do is have it so it gets deleted even if they close the browser. Should I add a column in the sessions table with a time stamp and check on each page for every user to make sure its great than 30 min? Is there a better way to do this, without so many queries? Thanks Link to comment https://forums.phpfreaks.com/topic/214671-remove-session-even-if-browser-is-closed/ Share on other sites More sharing options...
coupe-r Posted September 29, 2010 Author Share Posted September 29, 2010 anyone? Link to comment https://forums.phpfreaks.com/topic/214671-remove-session-even-if-browser-is-closed/#findComment-1117147 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.