Re: Re: Session Expire...

From: Date: Thu, 05 Aug 2004 02:19:36 +0000
Subject: Re: Re: Session Expire...
References: 1 2 3 4  Groups: php.general 
Request: Send a blank email to php-general+get-192789@lists.php.net to get a copy of this message
Jordi Canals wrote:
I tried that on my servers: Tested on the development server and the production server. But It does not work for me. Must say that I have to change this value by the .htaccess file, as I do not have access to the PHP.INI The manual says that session.gc_maxlifetime has a default value of "1440" (24 minutes) and can be set on PHP_INI_ALL. Well, I set session.gc_maxlifetime to 7200 (2 hours), because I need to edit some complex documents on the web. After 20/25 minutes of inactivity, my session expires. It does not follow the configured 2 hours for garbage collection. I know I'm missing something, but cannot find out what.
Are you sure your .htaccess setting is working? Look at the output of phpinfo() on a page under the .htaccess file and see if your setting is shown in the "local" column. -- John Holmes php|architect - The magazine for PHP professionals - http://www.phparch.com

« previous php.general (#192789) next »