Can a user disable HTML5 sessionStorage?

JavascriptWeb DevelopmentFront End Scripts

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 dom.storage.enabled“, 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”.

raja
Published on 06-Apr-2018 12:07:49
Advertisements