Hi Leigh, On Sat, Aug 10, 2013 at 7:02 PM, Leigh <lei...@gmail.com> wrote:
> I think custom handlers should still function as they always did, you > should not track whether the session changed or not for them, they can > easily track that themselves. > > For the built-in file based handler, do you think it would be a valid > compromise to update the mtime of session files instead of not writing to > them at all? This way you do not break BC, and maybe get a performance > increase too. (and can be on by default) > > Disabling writes altogether (even optionally) with documented hard to > debug unexpected side effects isn't a good thing in my opinion. > I agree. Let it handle save handlers. I'll create a API for touching session data, if save handler does have the API, operate session as it is now. If save handlers implement touch API properly, we get performance gain and no headaches. Regards, -- Yasuo Ohgaki yohg...@ohgaki.net