I got some problems with the setcookie(); On some browsers the cookie isn't set, or when it is set it can't be removed.
the command i use to set the cookies:
$expire = time() + 60*60*24*365;
setcookie("UserId", $login[1], $expire, "/", $HTTP_HOST,0);
or remove them:
setcookie("UserId", "", time()-3600, "/", $HTTP_HOST,0);
What is the problem? Any cookie experts in da house?
the command i use to set the cookies:
$expire = time() + 60*60*24*365;
setcookie("UserId", $login[1], $expire, "/", $HTTP_HOST,0);
or remove them:
setcookie("UserId", "", time()-3600, "/", $HTTP_HOST,0);
What is the problem? Any cookie experts in da house?