Welcome Guest Search | Active Topics | Sign In | Register

Clearing LocalStorage for WebControl.WebView Options
JoshD
Posted: Thursday, October 4, 2018 1:11:08 PM
Rank: Member
Groups: Member

Joined: 8/11/2015
Posts: 19
We have a WPF application, with multiple WebControls created/used on various screens within the app. Right now all controls are assigned to the default webengine. We would like to clear the LocalStorage for just one of the WebControls while leaving LocalStorage for the other WebControls as they are currently set. Is there a way to do that? Only looking to clear the LocalStorage and not Cache or Cookies. Also, when using a page like Gmail signin as an example, where is information such as user/password stored … LocalStorage, Cache, or Cookies? Maybe a good definition of the 3 might be of help for me. Thank you.
eo_support
Posted: Thursday, October 4, 2018 3:17:29 PM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,221
No. We do not provide any APIs for you to do so. Sorry about it!
JoshD
Posted: Thursday, October 4, 2018 3:44:29 PM
Rank: Member
Groups: Member

Joined: 8/11/2015
Posts: 19
Can you provide a description of cache vs local storage? When is cache used vs local storage? Can one be cleared without clearing the other?
If using EO.WebEngine.Engine.Default.Stop(true); should that clear a saved setting such as a user that saved their password?
eo_support
Posted: Thursday, October 4, 2018 4:18:14 PM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,221
Hi,

I believe cache and local storage are separate. We do not provide any APIs for you to clear either while the Engine is running. The closest you have is to delete the entire cache folder when the Engine is not running.

Calling Engine.Stop does not delete anything. It only stops the browser engine thus destroys all WebView instances managed by that Engine object. It does not delete anything on disk.

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.