I'm setting my cookie properly in my code, for example:
$expire = time()+60*60*24*30;
setcookie("userid", 27, $expire);
But then when I attempt to access the cookie to use it's value ($userid = $_COOKIE['userid'];
), I keep receiving, "undefined index: userid"
If I check my browser's (in this case, Firefox) cookies I can clearly see that my cookie is there and set:
Any and all assistance is appreciated...this is driving me insance. Thanks!