0

Javascript localStorage persistence

Did anyone get persistence in javascript localStorage?

I tried configuring the htmlwidget like this:

config = {
	    	nodejs_enabled: true
	    	brightsign_js_objects_enabled: true
		focus_enabled: true
		javascript_enabled: true
		url: url$
		storage_path: "SD:/STORAGE"
		storage_quota: 1073741824
	}

gaa.htmlWidget = CreateObject("roHtmlWidget", rect, config)

and used the roHtmlWidget methods like SetStorageDir (http://docs.brightsign.biz/display/DOC/roHtmlWidget#roHtmlWidget-SetLocalStorageDir(file_pathAsString)AsBoolean)
but everytime the widget is created, the localstorage data is empty. The same application on my webbrowser works as expected so it is not problem of the javascript code.

Thank you

1 comment

  • 0
    Avatar
    mirage

    I have a problem with that, The localStorage didn't work, And the indexedDB got an error which is 'Internal error opening backing store for indexedDB.open'

Please sign in to leave a comment.