Jump to content

remove session even if browser is closed?


coupe-r

Recommended Posts

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

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.