RE: [PHP] session and expiration function

From: Date: Tue, 24 Sep 2002 02:48:36 +0000
Subject: RE: [PHP] session and expiration function
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-117357@lists.php.net to get a copy of this message
> is it possible to have a function execute when a session expires using > php4 > sessions? > i know how to execute a function if i control the timeout (as mentioned > elsewhere in this group) but what about if the session times out itself > using the inbuilt garbage collection routine. > if so, any ideas how? I don't think there's a way to do it besides hacking the source code. If you really have to do this, I'd set your own session.save_path() in your scripts and then write a script to do the cleanup and function calling for you. ---John Holmes...

« previous php.general (#117357) next »