PDA

View Full Version : types of Web Storage in HTML5 ?



loveproblemsguruj
07-20-2019, 01:11 AM
Hello Dear,

* * * * * * * * Please Tell Me*What are two types of Web Storage in HTML5 ?

vinayak
07-25-2019, 11:53 PM
The two storages are session storage and local storage and they would be used to handle different situations.
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: 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.

loveproblemsguruj
08-02-2019, 10:34 PM
Thank's Dear.

Goyum
08-02-2019, 11:35 PM
SessionStorage is similar to LocalStorage, but only the difference is that the SessionStorage maintains a separate storage area for each origin that will available for the duration of the page session, and localstorage store the data with no expiration date.

loveproblemsguruj
08-14-2019, 02:51 AM
Thank's Dear.

loveproblemsguruj
08-17-2019, 12:49 AM
Thank's Dear.