RE: [PHP] session and expiration function

2002-09-23 Thread John Holmes
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

Re: [PHP] session and expiration function

2002-09-23 Thread christian haines
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

RE: [PHP] session and expiration function

2002-09-23 Thread John Holmes
PROTECTED]] Sent: Monday, September 23, 2002 11:06 PM To: [EMAIL PROTECTED] Subject: Re: [PHP] session and expiration function 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

Re: [PHP] session and expiration function

2002-09-23 Thread christian haines
the PHP board at Devshed and someone posted a sample function to handle the cleanup. ---John Holmes... -Original Message- From: christian haines [mailto:[EMAIL PROTECTED]] Sent: Monday, September 23, 2002 11:06 PM To: [EMAIL PROTECTED] Subject: Re: [PHP] session and expiration