Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

211
Views
Why sessionStorage restores removed elements?

For a web page that I am working on, I am storing a key-value pair in the session storage and access it in several places. There is one place in the code where I remove this item from sessionStorage with window.sessionStorage.removeItem(<key>).

However, I have noticed that if my webpage on a specific tab remains open while browsing other pages (unrelated to my page), when I switch back to my web page, the removed key-value pair is restored, and I can see in the sessionStorage.

Can sessionStorage restore removed items?

I have noticed this issue both on Edge and Chrome.

Thanks :)

about 4 years ago · Santiago Gelvez
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!