Answer Question
asp.net removing cookies?
Hi all,
I have been trying to remove some cookies that I set, but without luck. I'm using asp.net 1.1 and c#.
First I have the problem that I can access the cookies collection two ways: this.response.cookies and this.request.cookies, but which should I use?
I did use request and then just set the cookie to an empty string, but the idea was to remove it completely.
When i tried to use this.Request.Cookies.Remove("xxx"); it was removed in the VS.NET watch, but was "back" next time the user accessed the site.
I'm not sure what I'm doing wrong, but it's probably something simple.
I look forward to some help with this.
TEXT
Uploading file and scanning for virus...
Please Wait