Track Users Online with Sessions?



Since I'm on the topic of sesions, I've seen a few examples of tracking
online users using a mysql table and inserting the session and
timestamp and checking it at period to remove it from the list after
expiration time but is there a simpler way? Is there a way to count
how many active sessions there are open at one time? I don't care to
see user info but would like to at least know how many people are
online. I guess getting logged in users and guests would require using
a table or something. Is there any information on how to do this?
Thanks

.



Relevant Pages

  • Re: [PHP] session_decode from session handler
    ... database from the set_session_handler. ... What I am trying to do is show a list of online users and the page they are ... the list of session and from that I loop through to get the session data of ... I am using PHP 5.2.3. ...
    (php.general)
  • Extending session timeout Was: Re: CAPTCHA (verification code) and session
    ... academic paper. ... You can set the expiration time of sessions (although this may be ... problematical on shared hosted systems with an uncooperative ... the session timeout is fine. ...
    (comp.lang.php)
  • Re: sessions vs cookies
    ... You can put a time stamp *in* the session, and check for how old it ... And it's entirely up to the browser to actually expire them. ... users may be able to edit the expiration time of cookies. ...
    (comp.lang.php)
  • Re: setting multiple PHPSESSID durations - asking for trouble?
    ... do it by setting the PHPSESSID cookie duration. ... than the server clock. ... It's also possible to track the expiration time of a session in the ...
    (comp.lang.php)
  • Re: number of online users?
    ... > how I could count the number of online users with asp .net? ... > which complement should i use? ... on Session start increment the counter ...
    (microsoft.public.dotnet.framework.aspnet)