Rank: Newbie Groups: Member
Joined: 1/13/2017 Posts: 2
|
Hi,
How can I delete cookies using a webControl?
I do - 1 - set the cachePath of my webView webView1.Engine.Options.CachePath = @"c:\\toto"
- 2 - If I try to delete the cookies files in the dir, I can not because they are used by a proccess.
Have you got a solution?
David
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,221
|
Hi, There are no way for you to delete cookies while the WebView is running. So the only way to delete the cookie folder is to destroy all the WebView first and stop the engine. You can call this method to stop the engine without having to close your application: https://www.essentialobjects.com/doc/eo.webengine.engine.stop.aspxIf you are not familiar with the Engine object, you can find more information here: https://www.essentialobjects.com/doc/webbrowser/advanced/engine.aspxPlease feel free to let us know if you still have any more questions. Thanks!
|