Bug #72940 [Opn]: SID always return "name=ID", even if session cookie exists

From: Date: Thu, 25 Aug 2016 10:43:24 +0000
Subject: Bug #72940 [Opn]: SID always return "name=ID", even if session cookie exists
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-203539@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=72940&edit=1 ID: 72940 Updated by: cmb@php.net Reported by: archinf at archinform dot de Summary: SID always return "name=ID", even if session cookie exists Status: Open Type: Bug Package: Session related PHP Version: 7.0.10 Block user comment: N Private report: N New Comment: That might be related to bug #71974. Previous Comments: ------------------------------------------------------------------------ [2016-08-25 10:18:12] archinf at archinform dot de Description: ------------ --- From manual page: http://www.php.net/session.constants --- SID: Constant containing either the session name and session ID in the form of "name=ID" or empty string if session ID was set in an appropriate session cookie. This worked in all previous versions (up to 5.6), but after update to php7 SID even contains value "name=ID" when a session cookie exists. In my PHP code cookies are used for sessions as default and as fallback (if user disables Cookies) session ID is transferred in the URL. But now the session ID is transferred everytime, because SID always contains "name=ID" ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=72940&edit=1

« previous php.bugs (#203539) next »