how to see all sessions sets in server

[email protected] (Farzan Dalaee)
Newsgroups php.general
Message-ID <CAFoT97Fxm8mg32fPEza2PmXqRb7b22z7DcudP0b4sYfUH8iviA@mail.gmail.com>
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?
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.