how to see all sessions sets in server
| From: | Farzan Dalaee | Date: | Sun, 04 Aug 2013 09:02:55 +0000 |
| Subject: | how to see all sessions sets in server | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-321782@lists.php.net to get a copy of this message | ||
hi
i want to write online user module for my site and i want to check
$_SESSION['userID'] to find all users id who loged in
but when i echo this code its return only current user detail
how i can see all sessions?
foreach($_SESSION as $k => $v)
{
echo $k."----------".$v;
}
or how i handle online users?