Hi,

On Mon, Apr 18, 2016 at 3:26 AM, Yasuo Ohgaki <yohg...@ohgaki.net> wrote:

>
> Probability based GC is unreliable and can reactivate very old sessions
> without "Precise session management RFC" and you opposed the RFC.
>
>
While I agree that calling session_gc() on a regular basis is the better
option, that doesn't mean probability-based GC is inherently unreliable.

The problem you're referring to here is a logical one, not caused by the
API, and is easily fixable - we just have to call SessionHandler::gc()
before the current session is initialized. That is, before
SessionHandler::read(), but after SessionHandler::open().
In fact, I think you've mentioned this before, so it's not like you don't
know about it.

Cheers,
Andrey.

Reply via email to