Persist javascript variables across pages? [duplicate]

You could use the window’s name window.name to store the information. This is known as JavaScript session. But it only works as long as the same window/tab is used.

Leave a Comment