Add delete method for cookies #6934
mikeybinns
started this conversation in
Proposals
Replies: 1 comment 2 replies
-
May I ask why are you using |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I think we should add a delete method to cookies which just acts as a shortcut for serialising a cookie with an expires option set in the past.
This is easier to remember and easier to write and read for developers.
It would accept no value or options because if you're deleting the cookie, they don't matter.
Beta Was this translation helpful? Give feedback.
All reactions