Re: Request #17860 Suggestion: auto detect whether session changed
| From: | Leigh | Date: | Sat, 10 Aug 2013 09:48:05 +0000 |
| Subject: | Re: Request #17860 Suggestion: auto detect whether session changed | ||
| References: | 1 2 3 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-68475@lists.php.net to get a copy of this message | ||
On 10 August 2013 10:45, Yasuo Ohgaki <yohgaki@ohgaki.net> wrote:
> Hi Leigh,
>
> On Sat, Aug 10, 2013 at 6:26 PM, Leigh <leight@gmail.com> wrote:
>
>> How does this affect GC of sessions? If a session is not written for 30
>> minutes, but the user is active, is there a potential for their session to
>> be GC and destroyed?
>
>
> Thank you for heads up.
> I'll make it optional and document the side effect.
>
What is the performance difference if you just touch the files instead of
writing them? (i.e. update mtime)