I asked how to delete a cookie in a servlet. I was always trying something like:
but cookie would never go away. I would add setDomain, setSecure, etc, etc.
The trick is also to set the value. Why do you need to set a value if you are going to delete a cookie? Uhm,
anyway the following actually deletes a cookie
but cookie would never go away. I would add setDomain, setSecure, etc, etc.
The trick is also to set the value. Why do you need to set a value if you are going to delete a cookie? Uhm,
anyway the following actually deletes a cookie