Some cookies are being set, some aren't

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....


Go Back   Usenet Forums > PHP Programming Forums > PHP General

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 08-28-2003
Thaddeus J. Quintin
 
Posts: n/a
Default Some cookies are being set, some aren't

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
Reply With Quote
  #2 (permalink)  
Old 08-31-2003
Gary Petersen
 
Posts: n/a
Default Re: Some cookies are being set, some aren't

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.

Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 01:48 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0