How to delete a cookie using jQuery?
To delete a cookie with JQuery, set the value to null: $.cookie(“name”, null, { path: “https://stackoverflow.com/” }); Edit: The final solution was to explicitly specify the path property whenever accessing the cookie, because the OP accesses the cookie from multiple pages in different directories, and thus the default paths were different (this was not described … Read more