Salesqueen Software Solution

Download Free Estimation Now Click Here
Notifications
Clear all

What is the difference between cookies and local storage?

3 Posts
3 Users
0 Reactions
138 Views
Posts: 150
Topic starter
(@dinesh)
Estimable Member
Joined: 2 years ago

cookies and local storage

2 Replies
Posts: 461
(@dinesha-g)
Reputable Member
Joined: 2 years ago

Cookies

  • The cookies can be read and written by both clients and servers.
  • There is data transfer to the server.
  • All browsers, including older ones, support it.

Local storage

  • The client can only read local storage.
  • No data is transmitted to the server.
  • There are fewer older browsers that support it.
Reply
Posts: 100
 Kavi
(@kavi)
Estimable Member
Joined: 2 years ago

Cookies

  • Cookies have a storage space of 4KB.
  • The settings and workings for each tab and window determine when cookies expire.

Local storage

  •  It needs to be erased via javascript or manually because it is not session-based. 
  • Only local storage can be read by the client. 
  • No information is sent to the server. 
Reply
Share: