Hi Andrey, On Fri, Apr 8, 2016 at 4:57 PM, Andrey Andreev <n...@devilix.net> wrote: >> >> PS(gc_maxlifetime) is needed, so I fixed the last commit. >> > > It is necessary for probability-triggered GC because you don't have another > way of giving a TTL value then, but that's not the case for a direct > session_gc() call.
PS(gc_maxlifetime) is not related directly to probability based GC, but it's about which session should be deleted. Save handlers are supposed to delete inactive sessions exceeds PS(gc_maxlifetime) when GC is issued. Save handlers are not suppose to use PS(vars) directly and should use passed TTL parameter. Therefore, the parameter is passed. Regards, -- Yasuo Ohgaki yohg...@ohgaki.net -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php