Quote:
Originally Posted by rowan
Not sure about sessionStorage, but I'm pretty sure that most browsers will prompt the user for confirmation (ie, a dialog saying "this site wants to...") when the code uses localStorage. Test carefully to make sure you don't spook your visitors.
Edit: Also this text seems to suggest you can't share data between windows, because they will be considered separate sessions. "Opening a page in a new tab or window will cause a new session to be initiated, which differs from how session cookies work."
|
I just tested in Chrome, FF and IE and it worked in all without throwing up any dialog.
I also just added a second link on page1 to open page 2 in a new window and the data passes between them just fine. Tested that in Chrome and FF.
So this is the simple, easy way to accomplish the task as far as I can tell.
I like simple solutions as I am a simple minded person.
.