$.removeCookie is not deleting cookie in Chrome.
Please refer the below attachment of screenshot. The screenshot is taken from the Chrome settings -> All Cookie and site data.
The above screenshot is clearly showing that one cookie(name : !Proxy!proxyJSESSIONID, and path : /stockquote/rest/auth) is available. But when
$.removeCookie('!Proxy!proxyJSESSIONID', { path: '/stockquote/rest/auth'});
code is executed it is returning false and not deleting the cookie.
I am using jQuery Cookie Plugin v1.4.1.
To delete a cookie with jQuery set the path value to null:
$.removeCookie('filter', { path: '/' });
To delete cookie, set it's value for null
$.cookie("!Proxy!proxyJSESSIONID", null, { path: '/stockquote/rest/auth' });
And it would be deleted
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With