Sterling Hughes wrote: >>On Tue, 26 Mar 2002, Sterling Hughes wrote: >> >> >>>Hey, >>> >>>Just wondering why we only define SID when cookies are not used -- >>>wouldn't it be useful in all cases? >> >> Try reading <http://php.net/session>. The reason is spelled >> out there. :-) >> > > > OMG, sascha just used a smiley face -- REPENT! THE APOCOLYPSE IS COMING > ;)))) > > I actually can't find the reason that SID is not registered... I know > 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). > > Is there any reason that having it enabled in both cases would be > detrimental?
I can understand Sascha's reasoning, but I would like SID all the time. I guess Sascha is thining about case that a user want manual transparent session. AFAIK the manual page does not explain about conditional SID definition. That's why I made SID defined all the time in my patch. (Did original version have explaination?) I'm ok with whichever, since I fixed it to close a bug report in first place. Sascha, if you think current behavior is better to be maintained, I suggest to change the bug report to documentation problem. (It should be ANALYZED state still) -- Yasuo Ohgaki > > -Sterling > > The church is near but the road is icy; > the bar is far away but I will walk carefully. -- Russian proverb -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, visit: http://www.php.net/unsub.php