I have a VB.Net form application with a webbrowser control. I've implemented an HTML5 page as a string and loaded it in the webbrowser using documenttext, which is functioning smoothly. However, when the user interacts with the page (containing a D3 chart) by dragging an item, I need to update a JavaScript variable and store it for retrieval by VB .Net the next time the page is reloaded.
Unfortunately, neither cookies nor localstorage are effective solutions in this scenario because the page is hosted on a local filesystem rather than a server. Attempting to use these methods results in a null or undefined reference error in the JavaScript.
I am not interested in transferring the variable to a remote MySQL server for storage due to the slowdown it introduces. Ideally, I'm looking for a local solution that can be executed without network dependencies.