Re: [PHP] CHECKING IF A SESSION IS ACTIVE OR NOT

2003-07-10 Thread John Hicks
There is no reliable way for the server (Apache, PHP, etc) to know when a user closes a session by closing his browser window. That's one reason why session-management sytems always employ a timeout on sessions. I don't know what the default timeout is for the PHP session-management system, bu

Re: [PHP] CHECKING IF A SESSION IS ACTIVE OR NOT

2003-07-10 Thread Marek Kilimajer
You don't realy need it. Session garbage colector removes old session files for you. Nagib Abi Fadel wrote: HI, I'm storing the sessions ids in a database table. I want to run a script that reads from the table every session id and check if this session is active or not. I know that session inf