thanks john,

hmmm... i suspected as much...

i guess the way to do it would be to set a highly improbable garbage
collection and long timeout via ini_set. then use a timeout function
attached to the session which launches on expiration

cheers
christian

"John Holmes" <[EMAIL PROTECTED]> wrote in message
002501c26374$e136db20$b402a8c0@mango">news:002501c26374$e136db20$b402a8c0@mango...
> > 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...
>



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to