Page 1 of 1

number of sessions in use?

Posted: Mon Nov 11, 2002 9:32 pm
by Zoram
Hello all, it's me again! I had a question concerning sessions. How can i tell how many sessions are going on my site? i was thinking of adding a "There are currently _ people." ? how would i do that?

Posted: Tue Nov 12, 2002 5:31 am
by volka
e.g. by writing your own session managment (if possible)
http://www.php.net/manual/en/ref.session.php
session.save_handler string

session.save_handler defines the name of the handler which is used for storing and retrieving data associated with a session. Defaults to files.
...