Re: Why conditionally define SID?

From: Date: Wed, 27 Mar 2002 07:34:27 +0000
Subject: Re: Why conditionally define SID?
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-81849@lists.php.net to get a copy of this message
> I actually can't find the reason that SID is not registered... I know Well, the page is quite long and it might be hard to miss. > that its main use is for appending the session ID onto a URL, but I'd > find it useful for logging purposes and such (i guess I could just use > the session_name() and session_id() functions though). "Alternatively, you can use the constant SID which is defined, if the client did not send the appropriate cookie. SID is either of the form session_name=session_id or is an empty string. > > Is there any reason that having it enabled in both cases would be > detrimental? Yes. There are still cases which are not covered by the URL rewriter. SID has been destined for these cases since the inception of the session module. Its meaning won't change. If you need something else, please invent something different. Users who assert that the current behaviour needs to be fixed simply have not read and/or understood the documentation. - Sascha Experience IRCG http://schumann.cx/ http://schumann.cx/ircg

« previous php.dev (#81849) next »