sessionStorage won't expires objects

29 Views Asked by At

Some details might useful:

  • ReactJS version 16.12.0
  • Chrome version 78.0.3904.108
  • Below is the setting of sessionStorage

enter image description here

What happened

Setting of sessionStorage was successful but after closing and reopening the tab key:value is still there. Closing a tab/window ends the session and clears objects in sessionStorage. see not working. enter image description here

Thank you for the answers.

0

There are 0 best solutions below