Call Function On Session Destroy
am 15.09.2006 15:44:54 von Manoj Singh
------=_Part_118934_15907405.1158327894136
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
Hi Guys,
I have a question.
Is it possible to call any function when the session expires in PHP? I want
to do some database deletions whenever the session expires.
Thanks & Regards
Manoj
------=_Part_118934_15907405.1158327894136--
Re: Call Function On Session Destroy
am 19.09.2006 07:48:14 von Chris
Manoj Singh wrote:
> Hi Guys,
>
> I have a question.
>
> Is it possible to call any function when the session expires in PHP? I want
> to do some database deletions whenever the session expires.
You need to set your own session handlers:
http://php.net/session_set_save_handler
Then you can do whatever you like (for example
http://www.zend.com/codex.php?id=1126&single=1)
--
Postgresql & php tutorials
http://www.designmagick.com/
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php