Stores-if sessionStorage data only for one tab or for the entire domain?

When you close the tab then the data in sessionStorage is cleared themselves. When the tabs with the same domain, there are several, on the contrary, if nothing is deleted (until you close the last tab of the same domain), or the sessionStorage for each tab for your?
June 8th 19 at 16:47
1 answer
June 8th 19 at 16:49
Solution
The SessionStorage for each tab for your. The availability of data in storage sessionStorage is limited to the window. If you open two tabs with the same document, these two tabs will have different storage sessionStorage.

For long term data storage between tabs using localStorage.

Find more questions by tags Browsers