ShoeLace1291 Posted May 17, 2007 Share Posted May 17, 2007 How would I update a mysql table row when a user closes their window when they're logged in to my site? I want it to update a table row called logged_in when they close the window without logging out of the session. Is this possible? Quote Link to comment Share on other sites More sharing options...
hitman6003 Posted May 18, 2007 Share Posted May 18, 2007 Is this possible? Nope. Check to see how long it's been since they visited a page, if it exceeds a period of time (15 minutes is a good interval), consider them logged out. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.