You can open the directory where your session files are stored and count the files beginig with "sess_" and
are owned by apache, but this should be restricted on a shared host (and would give you the number of ALL
opened sessions on that server anyway). You can set your own session handler.

fragmonster wrote:

Is there a way to count how many sessions are opened on a PHP web site?

PHP General Mailing List (
To unsubscribe, visit:

Reply via email to