Tell me about the lifetime of local storage..?
Tell me about the lifetime of local storage..?
There are two types of web storage, which differ in scope and lifetime:
(1)Local storage
(2)Session Storage
Local Storage: The local storage uses the localStorage object to store data for your entire website, permanently. That means the stored local data will be available on the next day, the next week, or the next year unless you remove it.
|
Bookmarks