Permanent local storage in Awesomium

We are using Awesomium ( http://awesomium.com/ ) for a new project.

The problem is that when saving some data to localStorage in JavaScript, this is not permanent. The problem occurs when I close and reopen the application (when updating, I can get the data stored in localStorage).

I think Awesomium stores data somewhere in memory. Is there a way to save data to disk?

Thank.

EDIT:

Solved the problem with this code:

var webSession = WebCore.CreateWebSession(System.IO.Path.GetDirectoryName(Assembly.GetEntryAssembly().Location) , Awesomium.Core.WebPreferences.Default);
webControl.WebSession = webSession;
+5
source share
1 answer

Permanent local storage is stored in the cache folder, and you can get this folder in the debug folder of your Awesomium control

0
source

All Articles