WebBrowser control - how to reset cookies/cache

  • Thread starter Thread starter jakub dusek
  • Start date Start date
J

jakub dusek

Guest
Hello,

I am working on an application that contains a function to check website credentials by opening the website in WebBrowser and filing in username and password fields. The user then just pres login to validate it. This works great.

The problem is that this could by done only once after running the application, because WebBrowser keeps that website in login state and unfortunatelly there is no option to log- out, only time-out.

When I close and reopen the application, webbrowser does not remember the last login and I can check another one credentials.


I want to by able to test multiple credentials without having to close and reopent the application.

How Can I reset the WebBrowser or delete it cookies or cache?


Thank you

Continue reading...
 
Back
Top