Tuesday, 18 April 2017

how to save and load abstract javascript variable data?

I have a javascript variable, that I want to save and load if I ever close the page. I realize there is techniques like cookies or local storage, but the problem is the data is complex and likely can't be serialized into a string. it may have properties who values are functions or something. I guess what i'm asking for is something like suspending and resuming a virtual os, which preserves everything.

Does anyone know if it is possible to do with javascript or node.js?

Thanks



via omega

No comments:

Post a Comment