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

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to