Birdman203 Posted August 11, 2006 Share Posted August 11, 2006 How can I know when the user leaves the website or closes the browser? Link to comment https://forums.phpfreaks.com/topic/17267-question/ Share on other sites More sharing options...
corbin Posted August 11, 2006 Share Posted August 11, 2006 I was wondering that myself the other day... You could track them using a database and every time they reload a page update the time stamp in there... Then if its less then 5 minutes in the past consider them inactive.... Not sure though... You might be better off doing the same thing cept with session_id Link to comment https://forums.phpfreaks.com/topic/17267-question/#findComment-73245 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.