+ 5
What is the difference between local storage and cookies?
2 Réponses
+ 11
sessionStorage, localStorage and Cookies all are used to store data on the client side. Each one has its ownstorage and expiration limit. sessionStorage: similar tolocalStorage but expires when the browser closed (not the tab). Cookie: stores data that has to be sent back to the server with subsequent requests.
Source:
www.quora.com
+ 3
Thanks for your fast reply :)