Hi Andrey,
On Thu, Mar 13, 2014 at 8:43 AM, Andrey Andreev <[email protected]> wrote:
> > I'll fix root cause of GC issue later. GC should not depend on luck.
>
> What do you mean you'll fix it? What would the solution to that be?
Save handler may keep & check last GC time. If it's over session.expire,
perform GC.
Issue is that "session data that should be deleted" is not deleted and
could be alive long term due to current design. Current design is good
enough for many usage, but it is not the best practice obviously.
"Keep & check last GC time" requires additional overhead for every request.
This is the reason why I prefer to have session_gc() and encourage users to
use it properly.
Regards,
--
Yasuo Ohgaki
[email protected]