diff --git a/src/store/main.ts b/src/store/main.ts index 7b057283..6ebadf6f 100644 --- a/src/store/main.ts +++ b/src/store/main.ts @@ -2116,11 +2116,11 @@ export class MainStore { } initializeSessionId() { - let sessionId = sessionStorage.getItem('sphinx_session_id'); + let sessionId = localStorage.getItem('sphinx_session_id'); if (!sessionId) { sessionId = randomString(32); - sessionStorage.setItem('sphinx_session_id', sessionId); + localStorage.setItem('sphinx_session_id', sessionId); } this.setSessionId(sessionId);