I\'ve tried searching the php manual and internet on how to delete cookies and I\'ve tried it the exact same way they all say:
setcookie(\"name\", \'\', 1);
Happens to me as well one in ten times though. I guess its a problem with the way we code.
This is my code
setcookie("token", "", time() - 36000, "/");