Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Describe the difference between cookies, sessionStorage, and localStorage.
#4
In terms of capabilities, cookies only allow you to store strings. sessionStorage and localStorage allow you to store JavaScript primitives but not Objects or Arrays. Session storage will generally allow you to store any primitives or objects supported by your Server Side language/framework.
Reply


Messages In This Thread
RE: Describe the difference between cookies, sessionStorage, and localStorage. - by RH-Calvin - 07-15-2020, 12:00 PM

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

Forum Jump:


Users browsing this thread: 2 Guest(s)