Forum Discussion
hooleylist
Feb 16, 2011Cirrostratus
Because there isn't a cookie rename function. So the cookie value is set with a new name and then the old cookie is removed.
Keep in mind, that any changes you make to the cookie in requests would only effect what the web application sees. Removing a cookie from the request wouldn't effect the client's cookies.
If you want to tell the client to remove an existing cookie from its cookie store, you'd need to set the cookie with an expire time in the past, as I showed a few posts up.
Aaron