- Trending Categories
Data Structure
Networking
RDBMS
Operating System
Java
iOS
HTML
CSS
Android
Python
C Programming
C++
C#
MongoDB
MySQL
Javascript
PHP
Physics
Chemistry
Biology
Mathematics
English
Economics
Psychology
Social Studies
Fashion Studies
Legal Studies
- Selected Reading
- UPSC IAS Exams Notes
- Developer's Best Practices
- Questions and Answers
- Effective Resume Writing
- HR Interview Questions
- Computer Glossary
- Who is Who
Difference between Session Storage and Local Storage in HTML5
Session Storage
The Session Storage is designed for scenarios where the user is carrying out a single transaction but could be carrying out multiple transactions in different windows at the same time.
Local Storage
The Local Storage is designed for storage that spans multiple windows and lasts beyond the current session. In particular, Web applications may wish to store megabytes of user data, such as entire user-authored documents or a user's mailbox, on the client side for performance reasons.
HTML5 introduces the localStorage attribute which would be used to access a page's local storage area without no time limit and this local storage will be available whenever you would use that page.
- Related Articles
- Difference between Local Storage, Session Storage, and Cookies in JavaScript
- What is the difference between local storage vs cookies?
- Checking if a key exists in HTML5 Local Storage
- Difference between Centralized Data Storage and Distributed Data Storage
- Difference between Memory and Storage
- How to store a name permanently using HTML5 Local Storage?
- Thread-local storage (TLS)
- Difference between Storage Area Network (SAN) and Network Attached Storage (NAS)
- Storing Credentials in Local Storage
- HTML DOM Local Storage clear() method
- Trick to store credentials in local storage
- Retrieve element from local storage in JavaScript?
- Set the value in local storage and fetch – JavaScript?
- HTML5 / JS storage event handler
- How to enable Web view session storage in android?

Advertisements