I don't know of a function, but you could possibly read the directory where the SID files are stored. I use sessions a lot; however, I've not tried to accomplish this. I don't know if by default you can read the SID directory from a script or if this is blocked for security reasons or not. If not, you could read the directory, match the SIDs from your list and go from there. There is no way of knowing if the person is still actively using the SID this way though.
Larry. -----Original Message----- From: Christian Calloway [mailto:[EMAIL PROTECTED] Sent: Monday, February 09, 2004 9:28 AM To: [EMAIL PROTECTED] Subject: [PHP] check if user session exists Given a set of session id's, is it possible to query whether a given session exists. I am not talking about the current user session, instead I am referring to any and all possible user sessions currently in play. For example: if (session_exists($sessionId)) doSomething(); I've been looking very hard for this one and haven't found an answer at all. Any ideas? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php