Re: SESSION expiry time setting
| From: | David Grant | Date: | Fri, 18 Nov 2005 10:18:51 +0000 |
| Subject: | Re: SESSION expiry time setting | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-226032@lists.php.net to get a copy of this message | ||
Hi Angelo,
You might want:
session.cookie_lifetime = <time in seconds>
Obviously this only has an effect if the session.use_cookies directive
is set to "1".
Cheers,
David Grant
Angelo Zanetti wrote:
> Hi guys.
>
> I've been searching for where the time is set for a session to expire
> but had little luck.
>
> in the PHP.ini file I found:
>
> session.cache_expire
>
> which specifies the time in minutes but is this what sets the session to
> timeout once the setting time has been surpassed?
>
> Or am I looking in the totally wrong direction??
>
> thanks in advance.
>
> Angelo
>