What I found with both local repositories and HTML5 session storage functions is that both of these functions will work in Internet Explorer ONLY when the page is displayed via HTTP and will not work when you try to access this in the local file system i.e. you are trying to open a sample webpage directly from the file system with the sort URL, C:/Users/Mitaksh/Desktop , etc.
Deploy the application through any application server , such as Tomcat , etc., and then run it .. and you can see both local and session storage in action, then ..
source share