JavaScript Cookies vs Local Storage vs Session



The ability to quickly store information on a user’s browser is an incredibly under used, powerful feature of JavaScript, and this is partially because of how unwieldy it used to be. In this video I am going to discuss the differences between cookies, local storage, and session storage, and how dealing with browser storage has become much easier since the initial release of cookies. I will also talk about how to use cookies, local storage, and session storage to store information in a users browser.

Twitter:

GitHub:
https://github.com/WebDevSimplified

CodePen:
https://codepen.io/WebDevSimplified

#LocalStorage #Cookies #SessionStorage

source

Reply

Do NOT follow this link or you will be banned from the site!