Jump to content


Photo

cookies don't work for one user?


  • Please log in to reply
No replies to this topic

#1 michaellunsford

michaellunsford
  • Members
  • PipPipPip
  • Advanced Member
  • 1,023 posts
  • LocationLouisiana, USA

Posted 08 March 2006 - 09:43 PM

walked an end user through the process of checking that cookies were turned on in his browser, but my little cookie test page says he doesn't. Seems to work for everyone else though. Any ideas?

note to the code -- this is an approximation of the acutal code.
<?
    if(!$_GET['cookietest']) {
        setcookie("test-cookie","test");
        header("Location :".$_SERVER['PHP_SELF']."?cookietest=true");
        die();
    } elseif ($_COOKIE['test-cookie']!="test") echo "COOKIES ARE DISABLED";
    else echo "You're good. Cookies are ON";
?>





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users