I created a cookie with PHP like so:
setcookie('form_login', $_POST['form_login'], time()+3600, "/");
I am then trying to delete it using jQuery (jQuery Cookie):
$.removeCookie('form_login');
Doesn't work, cookie still there. Why?
I created a cookie with PHP like so:
setcookie('form_login', $_POST['form_login'], time()+3600, "/");
I am then trying to delete it using jQuery (jQuery Cookie):
$.removeCookie('form_login');
Doesn't work, cookie still there. Why?
You can only delete cookies created by javascript. You can't delete cookies create by the server