cookies vs localStorage vs sessionStorage - Beau teaches JavaScript

preview_player
Показать описание
What's the difference between cookies, local storage, and session storage? They are all ways to store data in a user's browser but they each have different uses.

⭐JavaScript Tutorials Playlists⭐

-
We're busy people who learn to code, then practice by building projects for nonprofits. Learn Full-stack JavaScript, build a portfolio, and get great references with our open source community.

Рекомендации по теме
Комментарии
Автор

Great video! Liked how you summarized all in one table. I don’t think this is true though 1:37 cookies are not stored on the server. They can be set by the server with a response header (set-cookie) and client sees that header and store it in the browser. The other way is through javascript document.cookie. But yeah only on the browser last time I checked.

hnasr
Автор

Amazingly explained. Covered everything I needed really quickly and simply. Thank you.

FurryDanOriginal
Автор

Really clear and concise explanation. Thank you!

DianaParra
Автор

2:53 this guy's typing is at level 5000

whoeverwhoever
Автор

Really liked the tabular comparison. Thank you!

chaiths
Автор

Dzięki za udostępnienie. Ostatnio korzystam z Morelogin i chroni prywatność.

shawnyiwerd
Автор

In my dev tools for Firefox, all the storage data is held in a separate "Storage" tab, not Application.

Snesgamer
Автор

Great video, one question : what would you recommend going for, if I want a popup as an example, to not appear if the user already seen it in the last 30 days ?
cheers

osherezra
Автор

Thank you for a very excellent explanation

rycemuffin
Автор

you were copied from many... you are the man at the start point !

jeromelanteri
Автор

Really helpful and very well explained ... thank you...

viveknegi
Автор

fastest god damned typist I've ever seen

dane
Автор

Great stuff! Are you from Michigan? Nice accent

tljstewart
Автор

Youre awesome ;D and not only cuz you explain everyting clear ;D

jakubkondraciuk
Автор

I can imagine many usecases for cookies, but none for localstorage or sessionstorage. Did you explain that somewhere? Grtz.

SA-ojbo
Автор

Are cookies really stored on the server too? I always thought they were stored locally, on the computer running the web browser. From what I read, there is another server-side storage type called "session", which is typically used in conjunction with the browser's cookies but not to be confused with browser cookies.

dysonlu
Автор

5:07 My god that typing speed! We don't usually get to see it since he copy-pastes or something. Or was it maybe sped up?

issssse
Автор

thanks for video..!! concepts are clear ....could u tell me the real time usage of session storage

hk_build
Автор

huh... I thought localStorage would be something difficult to learn, thanks!

shiro
Автор

please do not use any of these to hold sensitive data but rather use a correct and secure session management variant

DrProductivity
join shbcf.ru