Duplicate Tab copying sessionStorage in Chrome
Asked Answered
M

2

16

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

I noticed that in IE it is not.

Maniemanifest answered 30/1, 2014 at 17:43 Comment(0)
S
16

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.

Sammiesammons answered 18/7, 2015 at 21:19 Comment(0)
T
0

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

Tidal answered 17/11, 2014 at 22:20 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.