This is a discussion on Some cookies are being set, some aren't within the PHP General forums, part of the PHP Programming Forums category; I've got a problem with cookies failing. Here's the setup- A staging server, RedHat Linux, with php 4....
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
I've got a problem with cookies failing.
Here's the setup- A staging server, RedHat Linux, with php 4.3 Main server, FreeBSD, also php 4.3 Running identical Apache setups and Identical php setups. The staging server is only accessible behind our local firewall and does not run https. The Main server runs https and users are transferred to https while logging in. For almost all users, the authentication works just fine. Two variables are set as cookie values and checked out, so it works great. However we've had report of some users not being able to log in. I haven't tracked down the problem, but the behaviour they're describing describes the cookies not being set. I was able to reproduce this behavior on a version of the Konqueror web browser. It could log into our staging server, but not our main server. I thought, "maybe it's a problem with the secure login," so I made a non-secure login. Still didn't work. I created a separate cookie value, only for checking if cookies were being set properly. It was set and transferred without any problems, but the other two values were non existant when I checked out the cookie management list. The user i heard from was running IE6, which works in every situation I could check, He opened up all of his security settings to allow everything, and it still didn't work. What kind of things should I be checking out? I'm at a loss for what else to try at this point. Thanks- Thaddeus Quintin |
|
|||
|
On Thu, 28 Aug 2003 15:47:42 -0500, in message <3F4E6A6E.2000901@dm1.com>,
the AI program named "Thaddeus J. Quintin" <thaddeus@dm1.com> randomly printed: > I've got a problem with cookies failing. > [...] > I was able to reproduce this behavior on a version of the Konqueror web > browser. [...] I've run into a bug with Konqueror where it interprets a cookie's expire time differently from other browsers. It might have something to do with Konqueror mis- interpreting the time-zone. I never figured out exactly how the bug works, but I remember getting around it by giving my cookies a long time to live. |