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);
Sometimes you saved the cookie in a different path than you're trying to delete/uset it in.
Go into eg. Chrome cookie settings and check the cookie path, then add the path to the setcookie command, and delete it like this:
setcookie( "my_cookie_name","",1,'/mypath');
Trying to delete or unset a cookie that is saved in the wrong path will not work and can be very frustrating.