Learn what sessions are, the express-session library, how sessions work with cookies to add persistence to an application, the difference between a session and a cookie, session security, what a session cookie is, and how to customize a session cookie.
🍪️ Video on Cookies 🍪️
[ Ссылка ]
💻 My Software 💻
My Chrome Extension WittCepter - [ Ссылка ]
📚 My Courses 📚
[ Ссылка ]
👩💻 Download Code 👨💻
[ Ссылка ]
⌛ Timestamps ⌛
0:00 – Introduction
0:15 – What is a Session?
0:23 – Why do we need Sessions?
0:45 – Cookies vs Sessions
1:07 – How do Sessions Work?
1:42 – express-session
2:08 – express-session and cookie-parser
2:59 – Registering express-session as Middleware
3:16 – What is a Session Secret?
4:06 – Session Secret Security
4:19 – Viewing Session in Chrome Application Tab
4:53 – Customizing t he Session Cookie
5:41 – Express Login Users with Session
8:33 – Deleting a Session
9:29 – Demonstrating Login with Session
10:59 - Outro
Ещё видео!