Re: Override session id creation and cookie creation?
| From: | mlwmohawk at mohawksoft dot com | Date: | Mon, 18 Feb 2002 19:11:31 +0000 |
| Subject: | Re: Override session id creation and cookie creation? | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-80168@lists.php.net to get a copy of this message | ||
> Wow, that's nasty. :)
>
> The cookie to get picked up will be the first one encountered as the
> Cookie header's value is parsed from left to right.
>
> Are these session cookies or persistent? I'm quite confused as to how
> the browser is keeping two identical cookies. I'll try to look more
> into the protocol.
The problem is that PHP session handler sets the cookie, then I wish to
override the cookie previously sent. I'm not sure if it is a PHP thing, a
browser thing, or both. Chances are both.
The solution is be able to override what the session handler creates for a
cookie, I guess.