I am trying to delete a cookie.
I am using setcookie(\"PHPSESSID\", \"\", time() - 6400); which deletes the cookie just fine.
setcookie(\"PHPSESSID\", \"\", time() - 6400);
However it is not enti
This code can solve this problem:
session_start(); // initialize session session_destroy(); // destroy session setcookie("PHPSESSID","",time()-3600,"/"); // delete session cookie