Some cookies are being set, some aren't

Ask a Question related to PHP Development, Design and Development.

  1. #1

    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
    Thaddeus J. Quintin Guest

  2. Similar Questions and Discussions

    1. Cookies in FMS
      In my application Flash Media Server 2 makes HTTP requests to retrieve configuration data. Page that is requestet sets some cookies. I was very...
    2. Help with cookies
      I'm having trouble accessing my cookies after they're set. If I do a response.write on the cookie value immediately after it's set in code, it...
    3. php cookies
      Is it possible to set php cookies to delete after a period of user inactivity & if so how?
    4. PHP and cookies
      ok I have a question maybe this might help if you have $_COOKIE that is a session cookie in path '/' you also have a cookie $_COOKIE that is a...
    5. cookies under php 4.06
      okay, i know this is stupid, and i'm gonna kick myself when someone points out the obvious... i've just put a site online, and found the server's...
  3. #2

    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.

    Gary Petersen Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139