Date: 01/14/00
- Next message: Andrei Zmievski: "Re: [PHP-DEV] php4 - removing outdated session files"
- Previous message: Chad Cunningham: "[PHP-DEV] Re: [PHP3] does PAM lib PHP3 interface exist ?"
- Next in thread: Andrei Zmievski: "Re: [PHP-DEV] php4 - removing outdated session files"
- Reply: Andrei Zmievski: "Re: [PHP-DEV] php4 - removing outdated session files"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
I have set session.gc_maxlifetime = 600 and restarted apache, started a
session, see the session file in /tmp, but it's still there after 30
minutes. Any other Ideas? Thanks...running under Linux RH6.0 and
everything else seems OK.
----- Original Message -----
From: Andrei Zmievski <andrei <email protected>>
To: Greg Kelley <gkelley <email protected>>
Cc: <php-dev <email protected>>
Sent: Friday, January 14, 2000 9:21 AM
Subject: Re: [PHP-DEV] php4 - removing outdated session files
> On Fri, 14 Jan 2000, Greg Kelley wrote:
> > How do we delete outdated session files from /tmp? session_destroy()
only
> > resets the session variables to null in the file, but the file remains.
> > Looks like we need a session_stop() to delete the session file, since a
> > session_start() creates it.
>
> Take a look at session.gc_probability and session.gc_maxlifetime
> settings in your php.ini file.
>
> -Andrei
> * Programming is an art form that fights back. *
-- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: php-dev-unsubscribe <email protected> For additional commands, e-mail: php-dev-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>
- Next message: Andrei Zmievski: "Re: [PHP-DEV] php4 - removing outdated session files"
- Previous message: Chad Cunningham: "[PHP-DEV] Re: [PHP3] does PAM lib PHP3 interface exist ?"
- Next in thread: Andrei Zmievski: "Re: [PHP-DEV] php4 - removing outdated session files"
- Reply: Andrei Zmievski: "Re: [PHP-DEV] php4 - removing outdated session files"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

