I am searching for a way to share the same session between the browser tabs without requiring another authentication. There is a way to do that with the combination of session storage and local storage as pointed out here.
The problem here is that whenever you restore the tabs, the session storage will be restored as well for Chrome and Firefox browsers. This is quite a bad practice for my use case.
For example, the browser is shut down for a reason and then another user started to use the same machine. I would not prefer that the other user could access the previous user's session by just restoring the tab.
Could it be possible to solve this issue with cookies maybe ? Any proper solution or a workaround is welcome.