DWQA QuestionsCategory: ProgramCan sessionstorage share data across pages
Full-time job asked 2 months ago

Can sessionstorage share data across pages
How do you feel it’s a little contradictory

1 Answers
Best Answer
A panda mulberry answered 2 months ago

The original isThis one.
This is not contradictory. The front part is about “multiple pages” of your website. It is OK for users (when they open a tab) to visit any page. But if they open another tab and visit your website, sessionstorage will lose its link.

Full-time job replied 2 months ago

That is to say, sessionstorage is the attribute of window. Is a label a window object?