Can a user disable HTML5 sessionStorage?

Yes, a user can disable HTML5 sessionStorage.

It is easy to prevent browsers from accepting localStorage and sessionStorage. Let us see the settings for web browsers −

  • Firefox Type “about config” in the address bar and press. This would show the internal browser settings. Move to“, you need to right-click and Toggle to disable the DOM Storage.
  • In Internet Explorer, You need to select “Extras”, “Internet Options”, “Advanced” Tab. Now go to “Security” and uncheck “Enable DOM-Storage”
  • Google Chrome In Google Chrome, you need to open “Options”, then select “Under the Hood” Tab.

Click “Content settings…”, then select “Cookies” and you need to set “Block sites from setting any data”.