[SOLVED] Unset cookies
Posted: Wed Jul 28, 2004 6:44 am
Somehow I cant seem to unset cookies. I tried:
and:
I even tried both, but it doesnt work... can someone tell me whats wrong (I know its not the if() part cause I tried without it)
Code: Select all
if($_COOKIE["rsoftnaam"]) { unset($_COOKIE["rsoftnaam"]); }
if($_COOKIE["rsoftpass"]) { unset($_COOKIE["rsoftpass"]); }Code: Select all
if($_COOKIE["rsoftnaam"]) { setcookie("rsoftnaam",$_COOKIE["rsoftnaam"],time()-85000); }
if($_COOKIE["rsoftpass"]) { setcookie("rsoftpass",$_COOKIE["rsoftpass"],time()-85000); }