Re: Override session id creation and cookie creation?

From: Date: Mon, 18 Feb 2002 17:16:45 +0000
Subject: Re: Override session id creation and cookie creation?
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-80161@lists.php.net to get a copy of this message
Try running some tests on this where you have the page you're talking about and an additional page that dumps all environment variables you can think of. Or, if you have a way to snoop the HTTP request (2nd request) from your browser, that would be even better. Your problem *might* be that you have two cookies named PHPSESSID, but one is lowercase and one is upper. Just a thought. Chris On Mon, 18 Feb 2002 mlwmohawk@mohawksoft.com wrote: > In my module, msession, I have routines that guarentee that a session id > is unique within a cluster of web servers. > > The problem I have is that session creates and sets the session cookie > without some mechanism to allow me to replace the session id string, prior > to the session code setting the cookie. > > In some test code I have, I set the PHPSESSID cookie with my value, and > replace the internal value used, but oddly enough both values exist in the > browser, and depending on any set of random events, it is not predictable > which PHPSESSID value gets used. > > Any hints? Tips? > > > >

« previous php.dev (#80161) next »