To add to this message:

We are having problems with people using IE 6.0.  They appear to sign-in and
then are returned to the sign-in screen over and over.  This doesnt happen
to all that use the site.

Thanks in advance

-----Original Message-----
From: Marie Osypian [mailto:[EMAIL PROTECTED]
Sent: Thursday, June 05, 2003 10:03 AM
Subject: [PHP-DB] Cookie issue

We are having complaints on our site about users not being able to log-in
and we feel it maybe related to the setting of cookie.  Here is the code
used.  Can anyone give me insight.

/* some standard var's or other things like srand */
    srand((double)microtime() * 1000000);
    $includes_root  = "$DOCUMENT_ROOT/includes";
    $encoded_url    = urlencode($REQUEST_URI);

    if($_COOKIE["cookie_check"] != "Y")
        setcookie("cookie_check", "Y", strtotime("+5 years"), "/",
"$HTTP_HOST", 0);

    if($_COOKIE["current_surfer_id"] == "" AND $_COOKIE["cookie_check"] ==
        $current_surfer_id = rand(0, 16777215);

        setcookie("current_surfer_id", $current_surfer_id, strtotime("+5
years"), "/", "$HTTP_HOST", 0);

PHP Database Mailing List (
To unsubscribe, visit:

PHP Database Mailing List (
To unsubscribe, visit:

Reply via email to