Additionally you can check the access time to see which of those
sessions has been accessed in the last, let's say, 10 minutes or
something.
But there are several problems with this. Relying on session files is
not good enough, they might be stored in a database or in shared memory.
Other problem
"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 se
2 matches
Mail list logo