Julien Berthoud
Julien Berthoud

Reputation: 769

Content of SessionStorage in Chrome is not displayed anymore

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?

Upvotes: 7

Views: 6272

Answers (4)

Rishabh Garg
Rishabh Garg

Reputation: 83

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

sessionStorage.removeItem("key");

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

Upvotes: 0

Shapeshifter
Shapeshifter

Reputation: 39

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.

Upvotes: 1

Eskel
Eskel

Reputation: 814

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

Upvotes: 2

Eder Maciel
Eder Maciel

Reputation: 109

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.

Upvotes: 5

Related Questions