Re: Call Function On Session Destroy

From: Date: Tue, 19 Sep 2006 05:48:14 +0000
Subject: Re: Call Function On Session Destroy
References: 1  Groups: php.db 
Request: Send a blank email to php-db+get-42372@lists.php.net to get a copy of this message
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/

« previous php.db (#42372) next »