Re: [PHP] check if user session exists

2004-02-09 Thread Christian Calloway
Yeah, my solution so far has been to check the last modified time of the session file and then go from there. If the modified time is > then time permitted, then that file is removed and the user's session is rendered null and void. What I am doing is allowing a variable X number of user's to simul

Re: [PHP] check if user session exists

2004-02-09 Thread Rob Adams
"Christian Calloway" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Yeah thats pretty much what I have concluded. I was absolutely sure there > would be a way to check if a session was still active, but I guess not :-(. > Thanks though It depends on your definition of 'active.' If

Re: [PHP] check if user session exists

2004-02-09 Thread Christian Calloway
Yeah thats pretty much what I have concluded. I was absolutely sure there would be a way to check if a session was still active, but I guess not :-(. Thanks though Christian "Larry Brown" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > I don't know of a function, but you could possi

RE: [PHP] check if user session exists

2004-02-09 Thread Larry Brown
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 no