Jump to content

Detect User Logout


Manixat

Recommended Posts

Hey there,

 

I need to be able to tell how much time a user has spent in my side whether registered or not, and the way I'm currently doing this is every 3 seconds I'm sending an ajax request to update the user's last online timestamp, which would bother me personally, and I feel like there are more convenient ways of achieving this. So are there any?

Link to comment
https://forums.phpfreaks.com/topic/272487-detect-user-logout/
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.