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
mendrinos
Forum Newbie
Posts: 1 Joined: Sun Apr 16, 2006 4:16 am
Post
by mendrinos » Sun Apr 16, 2006 4:38 am
Hello,
just need to give some information to the site admin's panel with how many sessions have the same variable.
for example I am keeping the login details of a logged user in $_SESSION['user'].
Any tip regarding how I can see how many sessions exists on server with the specific "user" attribute?
Thanks in advance.
feyd
Neighborhood Spidermoddy
Posts: 31559 Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA
Post
by feyd » Sun Apr 16, 2006 9:10 am
That information is not available if you are using file based sessions. If use used database sessions it's a simple query (likely)