Salesqueen Software Solution

Download Free Estimation Now Click Here
Notifications
Clear all

What is the difference between localStorage and sessionStorage objects?

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

localStorage and sessionStorage objects

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

Local storage

  • Only local storage can be read by the client.
  • No information is sent to the server.
  • Older browsers that support it are fewer in number.

Session storage

  • Accordingly, information is only kept around for the length of a session, or up until the browser (or tab) is closed.
  • Only local storage can be read by the client.
  • No information is sent to the server.
  • Older browsers that support it are fewer in number.
Reply
Posts: 100
 Kavi
(@kavi)
Estimable Member
Joined: 2 years ago

Local storage

  • Local storage has a 5MB/10MB storage capacity.
  •  It browsers that support it are fewer in number.

Session storage

  • The session storage has a 5MB storage capacity.
  • It functions per window or tab and is session-based.
Reply
Share: