This repository has been archived by the owner on May 24, 2022. It is now read-only.
Local Storage for session keys #390
BramDevlaminck
started this conversation in
General
Replies: 2 comments 8 replies
-
We might have to make a separation of keys.
Yes it would require some work, but it seems like there is no way going around it. |
Beta Was this translation helpful? Give feedback.
8 replies
-
We will use another way to solve this than what is described here, see #402 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
At this moment each browser has 1 session key that is stored in the
localStorage
. The problem with this is that when we are using websockets and you are using multiple tabs (in the same browser). All these tabs are "fighting" for a session key and this creates conflicts (the keys will be used multiple times or an invalid key is used).The solution seems to use
sessionStorage
. This way each tab would have his own session key.The problem with this is that the key is lost when the tab is closed and this would make the auto sign-in impossible.
Has anyone any idea how we could fix this?
Beta Was this translation helpful? Give feedback.
All reactions