Yasuo, Am 15.11.2014 02:27 schrieb "Yasuo Ohgaki" <yohg...@ohgaki.net>: > > I've asked this issue on this list and there wasn't much opinion. > I'm rather put the feature in PHP 7, since 3d party session save handler module need to > adopt new API to get most out of it. > > Since master has new code, I'll prepare new patch, hopefully soon.
I'm happy with the nothing-changed-so-dont-write stuff getting more love and being released in PHP 7 only. We are using sessions through a small wrapper class that does it in userlevel, i.e. we close our sessions immediately after retrieving their values, stash the values away for later comparison, and in a shutdown handler, see whether $_SESSION changed wrt to that memory, and when it does, open the session again to update the values. I'll be glad to rip out that part of the code eventually, but it works and I can easily wait for PHP 7. What we apparently experienced with memcache session handler in PHP 5.6.2 testing, was that sessions did not get properly unlocked - presumably because the way we do it the session variables are never changed up-front on the first close. Of course further access to the session then hang... best regards Patrick