Jump to content

detect logoff


jagguy

Recommended Posts

make a cron job to run every 10-15 minuites that checks all active sessions and compares it to the database value for that user (make a bool field called loggedin) and then if they don't match switch them and you have all the users logged in.  Sessions will die on browser close or after X seconds.

Link to comment
https://forums.phpfreaks.com/topic/59901-detect-logoff/#findComment-297889
Share on other sites

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.