[imp] Session timeout

Ramon Kagan rkagan@YorkU.CA
Wed, 1 May 2002 08:23:40 -0400 (EDT)


HI,

According to the php website:

session.cookie_lifetime specifies the lifetime of the cookie in seconds
which is sent to the browser. The value 0 means "until the browser is
closed." Defaults to 0.

session.gc_maxlifetime specifies the number of seconds after which data
will be seen as 'garbage' and cleaned up.

I would say that session.gc.maxlifetime is the value you want to set.

Ramon Kagan
York University, Computing and Network Services
Unix Team -  Intermediate System Administrator
(416)736-2100 #20263
rkagan@yorku.ca

On Tue, 30 Apr 2002, Mike Barsalou wrote:

> I would like to have my users timed out if they leave the browser open for
> more than 20 minutes without doing anything.  Which one of these php.ini
> settings should I be changing?
>
> session.gc_maxlifetime
> session.cookie_lifetime
>
>
> Should I be modifying something in Apache too/instead?
>
> Mike
>
> --
> IMP mailing list
> Frequently Asked Questions: http://horde.org/faq/
> To unsubscribe, mail: imp-unsubscribe@lists.horde.org
>