Bug #17145 Updated: SID constant is not set.

From: Date: Fri, 10 May 2002 19:28:18 +0000
Subject: Bug #17145 Updated: SID constant is not set.
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-7405@lists.php.net to get a copy of this message
ID: 17145 Updated by: sander@php.net Reported By: jlhaase@iland.net -Status: Open +Status: Closed Bug Type: Session related Operating System: Linux (Redhat 7.2) PHP Version: 4.2.0 New Comment: This bug has already been fixed in the latest released version of PHP, which you can download at http://www.php.net/downloads.php Previous Comments: ------------------------------------------------------------------------ [2002-05-10 15:17:20] jlhaase@iland.net Since updating php to 4.2.0 from 4.1.2 it seems that the SID constant is no longer set when the session ID is not propogated via cookie. I have session cookies completely disabled and have php compiled with --transparent-sid enabled. The transparent sid seems to work fine, as the PHPSESSID=blah is properly added to all uri etc within the pages. However in the specific case of using a Location: header through the header() function it is necessary to manually append the session id, In the past I had always done this through the use of the SID constant. The SID constant however is apparently no longer being set resulting in my session not being set correctly. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=17145&edit=1

« previous php.bugs (#7405) next »