I am trying to delete a session cookie in localhost by typing this into console:
$.removeCookie('registration_version', { path: '/' });
I opened up chrome, visited localhost:3000 and deleted the cookies. It looks like this:
name: registration_version value: "hi" expires/max_age: session path: / domain: localhost
I am also just going to resources tab in the chrome inspector, going to cookies, and deleting all of the cookies in localhost. However, when I refresh the page... it's still keeping the cookie. I've tried deleting it and I've tried overwriting the value but nothing works. Any ideas what's happening?
Aucun commentaire:
Enregistrer un commentaire