Open jguepjop opened 2 years ago
When you say you can not delete it, have you checked the cookie contents? With mine it destroys the cookie content itself but still leaves the 'shell'
For my application I only set the cookie headers, as shown in the code. I essentially want a way to remove it
Description
I am trying to rebuild the Hacker news web app, without using a database, and store user information (username) in cookies. Using a model similar to yours, I am currently able to add the username to the cookie header, but I am unable to delete. Here is the code for the login page, specifically the action that adds the cookie:
And here is the logout page:
Is there anything that I might be missing?