15

When a tab is duplicated in Chrome, is sessionStorage also duplicated?

I noticed that in IE it is not.

pjmorse
  • 9,204
  • 9
  • 54
  • 124
user3254314
  • 151
  • 1
  • 3

2 Answers2

14

In Chrome, Yes. And you've hit on an important distinction. The contents of sessionStorage is "copied" not "shared". Any changes made to sessionStorage after the tab is duplicated are not reflected in the other tab's sessionStorage.

donavon
  • 580
  • 7
  • 9
0

Yes, if you duplicate the tab, the sessionStorage data is also duplicated on the copied tab.

williamcabrera4
  • 270
  • 2
  • 12