Welcome to Geeklog, Anonymous Monday, February 16 2026 @ 08:59 pm EST
Geeklog Forums
Tracking session duration
Jameson
Anonymous
In an effort to make a more robust user statistics plugin; I'd like to keep statistics on how long users are on my site. How can I tell when someone's session dies so that I can track the time?
:\\ Jameson
11
11
Quote
Status: offline
Dirk
Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
Actually, that's next to impossible. You won't notice when someone leaves the site without logging out. So all you would record is when the session times out - but the visitor may have left the site long before that time.
In other words: Such stats are worthless (IMO, anyway).
bye, Dirk
17
9
Quote
All times are EST. The time is now 08:59 pm.
- Normal Topic
- Sticky Topic
- Locked Topic
- New Post
- Sticky Topic W/ New Post
- Locked Topic W/ New Post
- View Anonymous Posts
- Able to post
- Filtered HTML Allowed
- Censored Content