Content of SessionStorage in Chrome is not displayed anymore
Asked Answered
J

4

7

Since yesterday I have following problem: The variables in session storage are not visible anymore in chrome/devtools under session storage. In the console, I can call the variables, so they're here, but not visible.

So far the only way I could solve this problem is by changing my chrome profile to "gast". Then I can see the variable back. But I don't know which settings should I do to make it work under my regular profile.

Anyone a clue?

Josiejosler answered 20/1, 2023 at 15:3 Comment(2)
There's no such setting in devtools, so the problem is either in Chrome (e.g. you've disabled cookies on this site) or in your code.Hearken
Can't be in my code, bec my work mates have the same code and no problem. And as i said, when changing the chrome profile it works. So the problem is definitely somewhere in ChromeJosiejosler
B
5

I had the same problem and I just solved and it was very simple.

1 - Open devTools and go to Settings

2 - In Preferences roll to the bottom of the page and select the "Restore defaults and reload" option.

Basinger answered 31/1, 2023 at 11:43 Comment(0)
V
2

I'm seeing the same thing, the localStorage preview sometimes gets stuck and is not updating. Reload or reset of preferences is not helping. Reported it here: https://bugs.chromium.org/p/chromium/issues/detail?id=1414104

Vicentevicepresident answered 8/2, 2023 at 17:23 Comment(0)
S
1

Had the same issue.

My teammates could see data in the application tab, but I could not.

What solved the problem was running:

chrome://restart

in the address bar.

Hope this helps.

Suttee answered 25/1, 2023 at 17:44 Comment(0)
A
0

I solved it by removing the previous session key and storing it again.

sessionStorage.removeItem("key");

sessionStorage.setItem("key", "value");

Audubon answered 26/3, 2023 at 16:57 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.