clear cookie container in WebRequest
Posted
by Jeremy
on Stack Overflow
See other posts from Stack Overflow
or by Jeremy
Published on 2010-04-09T21:11:52Z
Indexed on
2010/04/09
21:13 UTC
Read the original article
Hit count: 305
I'm using the WebRequest object to post data to a login page, then post data to a seperate page on the same site. I am instantiating a CookieContainer and assigning it to the WebRequest object so that the cookies are handled. The problem is that I do not want to retain the cookie after I post data to the other page. How can I delete that cookie?
© Stack Overflow or respective owner