number of sessions in use?

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
User avatar
Zoram
Forum Contributor
Posts: 166
Joined: Sun Aug 18, 2002 3:28 pm
Location: Utah
Contact:

number of sessions in use?

Post 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?
User avatar
volka
DevNet Evangelist
Posts: 8391
Joined: Tue May 07, 2002 9:48 am
Location: Berlin, ger

Post 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.
...
Post Reply