Re: session timeout
| From: | CPT John W. Holmes | Date: | Thu, 13 Nov 2003 15:11:54 +0000 |
| Subject: | Re: session timeout | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-169505@lists.php.net to get a copy of this message | ||
From: <orlandopozo@icnet.com.ve>
> > How do I set the session timeout - eg someone leaves a broweser for say
> > half an hour then have to log in again..
> > As I'm on an intranet I want to increase ro 3 hours
>
> Pete, Change the default configuration of the option
session.cookie_lifetime
> in the php.ini
This won't help when the garbage collection deletes the session file after
24 minutes (default), though. Yeah, you'll have a valid session ID in a
cookie for 3 hours, but no matching session file.
---John Holmes...