Class 13 Reading Notes
Local Storage on Websites
- When an HTTP applicated is closed on the web it is reset the next time it is opened.
- A local storage object can be added in JavaScript by using these methods:
- sessionStorage can be used to exclusively store data while the browser is open.
- Stores information in string format
Local Storage Notes:
- Sensitive Info like:
- passwords, credit cards, social security numbers
should not be store in locale storage
- Info is stored as plain text and is not secure