Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Describe the difference between cookies, sessionStorage, and localStorage.
#2
A cookie is a tiny piece of data sent from a website that the user's browser stores on the computer, while he or she is navigating the site.

A session cookie exists only in temporary memory, while the user navigates the website. Browsers as a rule delete session cookies when the user closes the browser.
Some web browsers store the information locally from the webpage to for future use.
Reply


Messages In This Thread
RE: Describe the difference between cookies, sessionStorage, and localStorage. - by taniag - 06-27-2017, 11:20 AM

Possibly Related Threads...
Thread Author Replies Views Last Post
  Describe what event bubbling is? Kajal 1 7,434 07-15-2020, 12:03 PM
Last Post: RH-Calvin
  What is the difference between mysql_fetch_object() and mysql_fetch_array()? Kajal 1 2,953 07-15-2020, 11:55 AM
Last Post: RH-Calvin
  Difference between div and span? beingchinmay 3 3,661 07-15-2020, 11:54 AM
Last Post: RH-Calvin
  Difference between swing and AWT? beingchinmay 0 2,563 04-13-2016, 02:39 PM
Last Post: beingchinmay
  What is the difference between $message and $$message? beingchinmay 0 2,394 04-11-2016, 05:19 PM
Last Post: beingchinmay
  What are cookies and how will you use them? beingchinmay 0 2,230 01-28-2016, 02:19 PM
Last Post: beingchinmay

Forum Jump:


Users browsing this thread: 1 Guest(s)