-
What is the difference between local storage and session storage?
- Local storage is persistent, session storage is not.
- Local storage is not persistent, session storage is persistent.
- Local storage is persistent, session storage is persistent.
- Local storage is persistent, session storage is persistent.
-
The method to get the value of a cookie is
- getCookie()
- getCookies()
- getCookieValue()
- getCookieName()
-
The content of cookie used to specify the date and time when the cookie is out of date is
- expires
- expire
- max-age
- path
-
To save lots of data in the browser, which of the following is the best way to be used?
- localStorage
- sessionStorage
- cookie
- indexedDB
- The cookie is used to store data in the browser.
- The local storage is persistent, session storage is not.
- When the user closes the browser, the data in the cookie will be lost.
- Cookie
- Local Storage
- Session Storage
- IndexedDB
- What are the differences between local storage and session storage?
- Try to compare cookie with storage?