Jump to content

User logout :/


manix

Recommended Posts

it's done with a timestamp, that keeps updating whenever the user performs an action or changes pages... then you check the database for all timestamps older than (3 minutes? or whatever you want) and delete those from the onlineUsers list. I have explained this several times in detail here, and so have many others. try searching the forum.

Link to comment
https://forums.phpfreaks.com/topic/244258-user-logout/#findComment-1254565
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.