Re: php4 - removing outdated session files

From: Date: Fri, 14 Jan 2000 20:18:36 +0000
Subject: Re: php4 - removing outdated session files
References: 1 2 3 4 5 6 7 8  Groups: php.dev 
Request: Send a blank email to php-dev+get-14644@lists.php.net to get a copy of this message
I copied the entire [Session] section from php4 dist and put it into my production php.ini and restarted apache. maxlifetime is set to 15 minutes, probability is set to 100. Files are still never removed from /tmp, even after 15 minutes. I started a new browser session, called the first php app page with session_start(), it creates the session file, and I let the browser sit for 20 minutes. Close browser, restart and go back in again, second session file is created, original is still there. Don't know what to check next...thanks for your help so far. ----- Original Message ----- From: Andrei Zmievski <andrei@ispi.net> To: Greg Kelley <g_kelley@usnh.unh.edu> Cc: <php-dev@lists.php.net> Sent: Friday, January 14, 2000 11:32 AM Subject: Re: [PHP-DEV] php4 - removing outdated session files > On Fri, 14 Jan 2000, Greg Kelley wrote: > > No, they are all saved in /tmp > > I hesitate to say what may be wrong. session_destroy() calls the destroy > function of the save handler (in this case, mod_files) and it does > unlink on the file unless it can't create a path pointing to it. > > -Andrei > * It said 'Winmodem' on the box, but I still feel like I lost. * > > -- > PHP Development Mailing List <http://www.php.net/> > To unsubscribe, e-mail: php-dev-unsubscribe@lists.php.net > For additional commands, e-mail: php-dev-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net >

« previous php.dev (#14644) next »