I'm using localStorage in my JS application and I was wondering why IE9 claims localStorage == undefined. As far as I know, IE8 supports it, is here any way to get it working in the new version?
localStorage == undefined
Are you testing this on a local HTML file? i.e. a file:/// URL?
file:///
localStorage is only available on HTTP websites. That hasn't changed in IE9 Dev Preview.
2.1m questions
2.1m answers
60 comments
57.0k users