Bug #70013 [Asn]: Reference to $_SESSION is lost after a call to session_regenerate_id()

From: Date: Sun, 06 Sep 2015 05:53:27 +0000
Subject: Bug #70013 [Asn]: Reference to $_SESSION is lost after a call to session_regenerate_id()
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-195798@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=70013&edit=1 ID: 70013 Updated by: yohgaki@php.net Reported by: jakub at zalas dot pl Summary: Reference to $_SESSION is lost after a call to session_regenerate_id() Status: Assigned Type: Bug Package: Session related Operating System: Debian PHP Version: 7.0Git-2015-07-07 (Git) Assigned To: yohgaki Block user comment: N Private report: N New Comment: Sorry, I wasn't paying attention to this. I'll fix this soon. Previous Comments: ------------------------------------------------------------------------ [2015-08-08 22:15:45] ab@php.net Yasuo, ping. Probably still should be fixed till RC1. Thanks. ------------------------------------------------------------------------ [2015-07-21 09:47:49] ab@php.net Hi Yasuo, what is the status of this? Obviously too late for beta2 ( Thanks. Anatol ------------------------------------------------------------------------ [2015-07-13 16:09:39] kalle@php.net Yasuo, Me and Anatol, talked it over and we both believe that the old behavior should be restored as to how it was in PHP5. It creates a less WTF factor when upgrading too, even though the new behavior is makes more sense. So please go ahead and commit a fix to revert the behavior back before Beta 2 ------------------------------------------------------------------------ [2015-07-13 02:21:26] yohgaki@php.net So what should I do? Restore old behavior or not? ------------------------------------------------------------------------ [2015-07-11 20:44:59] ab@php.net Hi, I guess we should revert the change to PHP5 behavior. Please do a proof read of https://wiki.php.net/rfc/session-lock-ini http://grokbase.com/t/php/php-internals/142dbaan9h/vote-rfc-introduce-session-start-options-read-only-unsafe-lock-lazy-write-and-lazy-destroy and also bug #65746. This behavior change is a subset of the mentioned RFC which had major concerns and was declined. Until a proper solution is suggested and accepted, there is no reason to go for BC breaks. Thanks. ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at https://bugs.php.net/bug.php?id=70013 -- Edit this bug report at https://bugs.php.net/bug.php?id=70013&edit=1

« previous php.bugs (#195798) next »