Re: Why Session can't be timed out!
| From: | Curt Zirzow | Date: | Sun, 12 Mar 2006 20:13:59 +0000 |
| Subject: | Re: Why Session can't be timed out! | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-231808@lists.php.net to get a copy of this message | ||
On Sat, Mar 11, 2006 at 09:44:01PM +0800, wrote:
> Excuse me,when i develop programe php in linux FC3 , i want the life time
> of the session to be 20 minutes ,i do the follow things in the php.ini file
What version of PHP are we talking about with FC3?
> 1.change session.gc_maxlifetime = 1200
> 2.change session.gc_probability = 100
> 3.change session.use_cookies = 0
The only one, in that list, that may effect when a session expires
is the gc_maxlifetime. Wich means data not accessed in the seconds
specified is able to be removed by the gc (garbage collection)
system.
The key setting you want is:
session.cache_expire
> 4. restart the apache server
> and it does work happily, how can i troubeshooting this problem ?
Does or doesn't, this is confusing me wether you have a problem
with the session lifetime working or not?
Curt.
--
cat .signature: No such file or directory