Javascript storing/state of global data/object
问题 Is there a way to store global data in the window object such that the data can survive page reloads/refresh. So lets say I assign my global data/object - window.myObject = myProductObject And the user refreshes/reloads the page or may be jumps to another page of my website. Is window.myObject still available after the page reload? NOTE -: I cannot store the object in a cookie, since its a object, I mean it could be a reference to another custom object or it could refer to another "window"