Given this support chart, can I assume that all the supporting browsers listed there enable this feature by default?
If not, what would be the simplest way to check if SessionStorage is available?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
if (!window.sessionStorage)or
if (!("sessionStorage" in window))How can I detect if Windows local storage is available?
HTML5 Local Storage fallback solutions
http://24ways.org/2009/breaking-out-the-edges-of-the-browser
http://mathiasbynens.be/notes/localstorage-pattern
https://github.com/Modernizr/Modernizr/wiki/HTML5-Cross-browser-Polyfills –> Web Storage