Wed Jun 24 2020

Web Storage

HTML50 views

Html5 web storage is more secure and faster mechanisms, similar to HTTP session cookies, for storing structured data on the client browser. It is also possible to store large amounts of data, without affecting the website's performance.

There are two new objects for storing data on the client. Local Storage which is used to stores data with no expiration date and Session Storage which is used to stores data for one session

Local Storage

The Local Storage is designed for storage the data without expiration date. The data will not be deleted when the browser is closed even can be use by 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.

Session Storage

The Session Storage used to store multiple transactions in different windows at the same time.

We use cookies to improve your experience on our site and to show you personalised advertising. Please read our cookie policy and privacy policy.