spot icon indicating copy to clipboard operation
spot copied to clipboard

If you open a session from a link, all following sessions have a broken result from the database connection

Open doc-l2 opened this issue 7 years ago • 3 comments

STR:

  1. Open session from link
  2. Open idarksurvey
  3. Click connect to database
  4. Only the session you had in the session link is visible (even when you visit from incognito)

doc-l2 avatar Jan 17 '19 10:01 doc-l2

Restarting spot-server fixes it, but if one person opens a session from a link, SPOT is broken for all people until the server is restarted...

doc-l2 avatar Jan 17 '19 10:01 doc-l2

In order to fix this issue, we need persistent storage for sessions. The sessions should either be stored in local storage of the browser or in the database.

Probably the most straight forward one is to use local storage.

fdiblen avatar Jan 17 '19 13:01 fdiblen

Hi Faruk,

Not sure if I typed this correctly. It goes like this:

Person A shares link Person B opens link Person C cannot access database anymore (neither A nor B) until the server is restarted.

So that SPOT breaks for all users when one person opens a session is a feature?

It's a session, so I agree that localStorage (or maybe better sessionStorage) is best.

doc-l2 avatar Jan 21 '19 06:01 doc-l2