Page 1 of 1

Playing with Sessions

Posted: Sun Apr 16, 2006 4:38 am
by mendrinos
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.

Posted: Sun Apr 16, 2006 9:10 am
by feyd
That information is not available if you are using file based sessions. If use used database sessions it's a simple query (likely)