"HarryG" <[EMAIL PROTECTED]> wrote in message 
news:[EMAIL PROTECTED]
> Is there an easier way to count the total number of sessions running on a
> PHP webserver? something like session_count();

If you're using file based sessions, you could count the number of files in 
the directory where the sessions get saved.  If there are files in there 
other than just session files, you'll have to look for just the session 
files.  On all my systems, they've started with "sess."

  -- Rob 

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to