#25464 [Csd]: SID always defined or not documention bug?

From: Date: Wed, 10 Sep 2003 04:23:32 +0000
Subject: #25464 [Csd]: SID always defined or not documention bug?
References: 1  Groups: php.doc 
Request: Send a blank email to phpdoc+get-969356251@lists.php.net to get a copy of this message
ID: 25464 User updated by: jc at mega-bucks dot co dot jp Reported By: jc at mega-bucks dot co dot jp Status: Closed Bug Type: Documentation problem Operating System: Linux PHP Version: 4.3.3 New Comment: Great! Thanks for looking into this. Previous Comments: ------------------------------------------------------------------------ [2003-09-10 00:15:23] sniper@php.net This is actually fixed already in CVS..the manual just hasn't been generated since that. Patience. :) ------------------------------------------------------------------------ [2003-09-10 00:08:08] sniper@php.net SID is always defined. Someone should fix that one manual page. :) The constant 'SID' is defined to '' if the session id is set in a cookie for the request. ------------------------------------------------------------------------ [2003-09-09 23:22:47] jc at mega-bucks dot co dot jp Description: ------------ These two documentation pages have conflicting views on wether SID is always defined or not. The first one says it only defined is the right cookie wasn't sent and the other says it is always defined. Which one is it :) http://jp2.php.net/session_id Note that SID is only defined if the client didn't send the right cookie. See also Session handling. http://jp2.php.net/manual/en/ref.session.php Alternatively, you can use the constant SID which is always defined. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=25464&edit=1

« previous php.doc (#969356251) next »