Re: Request #17860 Suggestion: auto detect whether session changed
| From: | Leigh | Date: | Sat, 10 Aug 2013 09:26:11 +0000 |
| Subject: | Re: Request #17860 Suggestion: auto detect whether session changed | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-68473@lists.php.net to get a copy of this message | ||
On 10 August 2013 04:45, Yasuo Ohgaki <yohgaki@ohgaki.net> wrote:
>
> This patch removes unneeded session writes. i.e. session data
> has not changed, just skip write and improve performance.
>
> Although it is safe to remove unneeded writes, if many of us
> want ini setting for enable/disable write short cut, I'll add setting
> for it.
>
> Any comments?
>
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?