[PHP] Number of sessions

2002-12-17 Thread fragmonster
Hello, Is there a way to count how many sessions are opened on a PHP web site? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Number of sessions

2002-12-17 Thread Marek Kilimajer
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.

Re: [PHP] Number of sessions

2002-12-17 Thread Justin French
If you're running your own server (ie, not a shared server), you could count the number of session files you have saved... the accuracy of this will depend on how often the garbage is cleaned out. on 17/12/02 7:08 PM, fragmonster ([EMAIL PROTECTED]) wrote: Hello, Is there a way to count how