Ask Question
22 December, 19:16

The main difference between local storage and session storage is

local storage is stored indefinitely; session storage is lost when the browser closes

session storage is stored indefinitely; local storage is lost when the browser closes

session storage has a shortcut syntax and local storage doesn't

local storage has a clear () method and session storage doesn't

+5
Answers (1)
  1. 22 December, 21:52
    0
    local storage is stored indefinitely; session storage is lost when the browser closes

    Explanation:

    The difference between local and session storage is that the session storage expires when the browser closes while the local storage is stored until someone else or the user deletes it. Local storage is there indefinitely.
Know the Answer?
Not Sure About the Answer?
Get an answer to your question ✅ “The main difference between local storage and session storage is local storage is stored indefinitely; session storage is lost when the ...” in 📙 Computers & Technology if there is no answer or all answers are wrong, use a search bar and try to find the answer among similar questions.
Search for Other Answers