note 15767 added to ref.session
| From: | jan dot leys at pandora dot be | Date: | Tue, 02 Oct 2001 10:10:43 +0000 |
| Subject: | note 15767 added to ref.session | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-18464@lists.php.net to get a copy of this message | ||
I am building a chat/message system in php. My question is : How can you now that a session ends and
then take the appropriate actions ? For instance when a user closes his browser while a session is
open. I've tried using the javascript onUnload event handler but this doesn't seem to work
on all systems.
In asp there's a global.asa file where you can define session_on_start and session_on_end event
handlers.
Is there functionality like this in php ?
tnx & greetz,
jan
--
http://www.php.net/manual/en/ref.session.php
http://master.php.net/manage/user-notes.php?action=edit+15767
http://master.php.net/manage/user-notes.php?action=delete+15767
http://master.php.net/manage/user-notes.php?action=reject+15767