Re: Re: Why conditionally define SID?
| From: | Sagi Bashari | Date: | Wed, 27 Mar 2002 00:35:21 +0000 |
| Subject: | Re: Re: Why conditionally define SID? | ||
| References: | 1 2 3 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-81842@lists.php.net to get a copy of this message | ||
From: "Sterling Hughes" <sterling@bumblebury.com>
>
> 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).
I think that it'll be really nice to have it defined all the time.
I had some cases where I needed to point a user to a different server, say
from normal http to https server, and I wanted to keep his session, I ended
up writing function that returns the variable from session_id(), but defined
SID should be much nicer.
Sagi