Logo
My Account |  Site Map | Contact Us  
Welcome Guest Search | Active Topics | Sign In | Register

Web Control - How to delete cookies Options
Arsenal
Posted: Wednesday, February 7, 2018 9:09:13 AM
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
eo_support
Posted: Wednesday, February 7, 2018 11:49:26 AM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 20,523
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.aspx

If you are not familiar with the Engine object, you can find more information here:

https://www.essentialobjects.com/doc/webbrowser/advanced/engine.aspx

Please feel free to let us know if you still have any more questions.

Thanks!


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.