> Do you know a way to close a session when client closes the explorer?
> Perhaps with a client script?

If the session cookie lifetime is zero, the cookie will be deleted when
the user closes their browser. However, it's up to you to delete old
information from your database now. Since you have a timestamp, you have
to assume that sessions that haven't been accessed for over X minutes
are old and delete them. This is the same method that PHP uses with
regular session files. That means you need to update the timestamp every
time a script starts/retrieves a session so it's up to date. 

---John W. Holmes...

PHP Architect - A monthly magazine for PHP Professionals. Get your copy
today. http://www.phparch.com/



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to