Re: [RFC][Discussion] Add session_gc()
| From: | Andrey Andreev | Date: | Fri, 08 Apr 2016 08:02:37 +0000 |
| Subject: | Re: [RFC][Discussion] Add session_gc() | ||
| References: | 1 2 3 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-92160@lists.php.net to get a copy of this message | ||
Hi,
On Fri, Apr 8, 2016 at 6:46 AM, Yasuo Ohgaki <yohgaki@ohgaki.net> wrote:
> ,,,
>
> > Speaking of the documentation part - it's not hard to imagine A LOT of
> > people doing this:
> >
> > session_start();
> > session_gc();
> >
> > That's not a small problem.
>
> Shooting their own foot is not our problem, but leaving obsolete and
> possibly active session is ours.
>
>
If you want to explicitly document something as a best practice, it IS your
problem when users shoot their feet with it.
Cheers,
Andrey.