Hello Grant, I just googling about cookie in WebBrowser and found this post. We finding the same thing.
>From my experience using WebRequest and WebResponse, it got CookieContainer. This cookie, I will keep for each request and response to make sure authenticated login will remain logged in. Otherwise the server will response a login form. Back to WebBrowser cookie container managed in the WebBrowser control and integrated with IE and also the cookie created is not missing if you close and rerun your form. I don't know why you lose it. It should be there. However I still not found how to manage my own cookie container in WebBrowser to differentiate my application with IE cookie collections. CallMeLaNN On Dec 31 2008, 6:16 am, Grant <[email protected]> wrote: > Has anyone ever used VB.NET to edit existing cookies? > > On Dec 16, 1:32 pm, Grant <[email protected]> wrote: > > > I have an application that uses theWebBrowsercontrol to view a > > particular website. This website stores all the preferences in a > > cookie(bad design but out of my control to change). Every once in a > > while, I lose thiscookie(whether it expire or I delete my IE > > history) and therefore I have to reconfigure my preferences. I have > > figured out how to read the cookies in the control and store a copy of > > thecookiedata. How do I go about replacing acookiewhen I want to > > "restore" my preferences using the copy I stored?
