From d12d2d96e3b4ee01eb117ffa4240493a6d21a50d Mon Sep 17 00:00:00 2001 From: Usman Baig Date: Sat, 17 Jan 2026 14:17:07 +0100 Subject: [PATCH] feat: standardize session storage key for improved consistency across pages --- public/script.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/public/script.js b/public/script.js index aa97032..00423a3 100644 --- a/public/script.js +++ b/public/script.js @@ -29,7 +29,9 @@ return cachedSessionId; } - const key = 'plausible_session_' + domain; + // * Use a static key for session storage to ensure consistency across pages + // * We don't use the domain in the key to avoid issues with subdomains/casing + const key = 'ciphera_session_id'; try { cachedSessionId = sessionStorage.getItem(key);