note 15767 rejected from ref.session by zak
| From: | zak@php.net | Date: | Tue, 02 Oct 2001 10:11:15 +0000 |
| Subject: | note 15767 rejected from ref.session by zak | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-18465@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