Go Back   Site Owners Forums - Webmaster Forums > Web Programming > Programming General > HTML / DHTML

Notices


Reply
 
Thread Tools Rate Thread Display Modes
Old 07-01-2016, 12:28 AM   #1
Kiara
Registered User
 
Join Date: Jun 2016
Location: USA
Posts: 55
Local storage:
1. Local storage stores the data in the form of key and value
2. The data is stored for longer duration and remains in the browser unless the user deletes it explicitly, it remains even after a computer restart.
3. No way to specify the timeout period as the Cookies have.
4. Good to create an offline application that runs on the client machine (browser).
5. Easy to work with the JavaScript.
6. Local storage data is not sent to the server on every request (HTTP header) as it is purely at the client side.
Cookies :
1. Good for small amount of data
2. Difficult to work with JavaScript
3. All data is transferred to and from server, so bandwidth is consumed on every request
4. Can specify timeout period so that cookies data are removed from browser
__________________

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

Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump


All times are GMT -7. The time now is 12:26 PM.


Powered by vBulletin Copyright © 2020 vBulletin Solutions, Inc.