Re: session.gc_maxlifetime
| From: | Ralph Deffke | Date: | Tue, 22 Sep 2009 20:22:41 +0000 |
| Subject: | Re: session.gc_maxlifetime | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-298259@lists.php.net to get a copy of this message | ||
I forgot to mention, that this doesn't mean, you can not read data after
this timeout or that a session does ALWAYS die after this timeout. I would
assume, that the server has to have a reason to run garbage clean up. If the
server is not running a clean up, I would expect the session would excist
longer for access.
ralph_deffke@yahoo.de
"Tom Worster" <fsb@thefsb.org> wrote in message
news:C6DE9EEE.12C8D%fsb@thefsb.org...
> i'm not 100% sure what the manual means when it says...
>
> session.gc_maxlifetime integer
> session.gc_maxlifetime specifies the number of seconds after which data
will
> be seen as 'garbage' and cleaned up. Garbage collection occurs during
> session start.
>
> what event exactly does the "after which" here refer to?
>
> i'd like to think that it means that a session is eligible for gc no
sooner
> than session.gc_maxlifetime seconds after the most recent access (read or
> write) to that session. but it seems dangerously presumptuous to assume
that
> this is the case.
>
> what do you take it to mean?
>
>