Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Describe the difference between cookies, sessionStorage, and localStorage.
#1
Describe the difference between cookies, sessionStorage, and localStorage.
Reply
#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
#3
Cookies are saved at browser while sessions are saved at server.
Reply


Possibly Related Threads...
Thread Author Replies Views Last Post
  Difference between div and span? beingchinmay 2 1,091 05-21-2018, 04:40 PM
Last Post: Tanzi Wallis
  What is the difference between mysql_fetch_object() and mysql_fetch_array()? Kajal 0 889 08-08-2017, 03:33 PM
Last Post: Kajal
  Describe what event bubbling is? Kajal 0 1,170 07-06-2017, 10:30 AM
Last Post: Kajal
  Difference between swing and AWT? beingchinmay 0 1,179 04-13-2016, 02:39 PM
Last Post: beingchinmay
  What is the difference between $message and $$message? beingchinmay 0 1,112 04-11-2016, 05:19 PM
Last Post: beingchinmay
  What are cookies and how will you use them? beingchinmay 0 1,010 01-28-2016, 02:19 PM
Last Post: beingchinmay

Forum Jump:


Users browsing this thread: 1 Guest(s)