View Single Post
Old 07-14-2016, 12:18 AM   #5
rekhaweb
Registered User
 
Join Date: Jul 2016
Posts: 28
Local storage

- Local storage stores the data in the form of key and value
- The data is stored for longer duration and remains in the browser unless user delete it explicitly, it remains even after computer restart
- No way to specify the time out period as the Cookies have
- Good to store large amount of data, up to 4MB

Cookies

- Good for small amount of data
- Difficult to work with JavaScript
- All data is transferred to and from server, so bandwidth is consumed on every request
__________________

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
rekhaweb is offline   Reply With Quote