What are the different types of storage in HTML5?
Sanjay Dixit
*LocalStorage -- stores data with no expiration date. The data will not be deleted when the browser closed.*SessionStorage -- stores data for only one session. The data is deleted when the browser is closed.
1)Local Storage:The Local Storage is designed for storage that spans multiple windows, and lasts beyond the current session. In particular, Web applications may wish to store megabytes of user data, such as entire user-authored documents or a user's mailbox, on the client side for performance reasons.2)Session Storage:The Session Storage is designed for scenarios where the user is carrying out a single transaction, but could be carrying out multiple transactions in different windows at the same time.
Local Storage Session Storagehttp://www.tutorialspoint.com/html5/html5_web_storage.htm
http://www.w3schools.com/html/html5_webstorage.asp