Re: Re: session.gc_maxlifetime
| From: | Tom Worster | Date: | Tue, 22 Sep 2009 20:39:49 +0000 |
| Subject: | Re: Re: session.gc_maxlifetime | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-298260@lists.php.net to get a copy of this message | ||
thank you, Ralph!
i'm going to be bold and assume that tom at punkave dot com is right despite
that the report was discarded.
i got a complaint from a client about some users reporting being logged out
with rather short periods of inactivity. but session.gc_maxlifetime is set
to 6 hours so i don't think that's the source of the problem.
On 9/22/09 4:17 PM, "Ralph Deffke" <ralph_deffke@yahoo.de> wrote:
> Hi Tom,
>
> i did find this in the bug reports, its pretty new and should be an answer.
>
> http://news.php.net/php.doc.bugs/2653
>
> 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?
>>
>>
>
>