Jump to content


Photo

Question


  • Please log in to reply
1 reply to this topic

#1 Birdman203

Birdman203
  • Members
  • PipPip
  • Member
  • 24 posts

Posted 11 August 2006 - 05:55 PM

How can I know when the user leaves the website or closes the browser?

#2 corbin

corbin
  • Staff Alumni
  • Advanced Member
  • 8,129 posts

Posted 11 August 2006 - 05:56 PM

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
Why doesn't anyone ever say hi, hey, or whad up world?




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users