Summary
Keywords
Full Transcript
Ever wondered how websites remember your login details or preferences? It's all thanks to cookies! 🍪 In this video, we'll break down cookies in simple terms—starting from a real-life demo to actual coding. You'll learn how cookies work in browsers, how to store and retrieve them, and how they help manage user authentication. Plus, we’ll cover the Set-Cookie header, checking user login status, and handling cookies in a login system. 💸 Get All My YouTube Videos' Source Code for just ₹249! Grab Now - https://thapatechnical.shop/source-code 📺 Watch the complete Node.JS Playlist here :https://youtube.com/playlist?list=PLwGdqUZWnOp3KELplHtc-RnJ5xTUPqdgH&si=_ob8F88HYxCdspup 🔥 Access Source Code, PPT & Notes here for Free : https://github.com/thapatechnical/urlshortener ------------------------------------------------------------------------ 🚀 Boost Your Skills with these Pre-Requisite Videos: 🔗 Best HTML Course - https://youtu.be/5ccq_nLHneE 🔗 Best CSS Course - https://youtu.be/MSICFljRcb4 🔗 JavaScript Basics Course Part 1 - https://youtu.be/13gLB6hDHR8 🔗 JavaScript Advanced Course Part 2 - https://youtu.be/YwsOCN8woA8 ------------------------------------------------------------------------ 💸 Build Your Own E-commerce Website for Free! - https://www.thapatechnical.com/2024/03/build-complete-ecommerce-website-using.html ------------------------------------------------------------------------ ✌️ Join Us! 🚀 Become a Member: Unlock perks, free source code, and more Join Now : https://www.youtube.com/channel/UCwfaAHy4zQUb2APNOGXUCCA/join 📷 Connect on Instagram: https://www.instagram.com/thapatechnical 🗨️ Join Our Discord Server: Hang out with fellow programmers Discord Link: https://discord.gg/MdScmCsua6 ------------------------------------------------------------------------ ⌛TIMELINE⏳ 0:00 👉 What Are Cookies? (Introduction) 0:14 🍪 Real-Life Demo of Cookies (Understanding with Examples) 2:10 📖 Cookies in Theory (Concepts & Explanation) 3:35 🔥 Use Cases of Cookies (Why & Where We Use Them) 5:40 🌍 How Cookies Are Stored in Browsers 7:15 🚀 Quick Recap of What We've Coded So Far 8:10 🔥 What We Need to Do Today (Roadmap) 8:50 🔀 How to Use router.route() Method (Routing Basics) 10:10 🛠️ Handling Login Post Controller (Backend Setup) 10:50 ✅ Storing Cookies on User Login - Set-Cookie Header 14:40 🔍 How to Get Cookies in Backend (Retrieving Data) 20:40 🔐 Check If a User Is Logged In or Not (Session Management) 23:15 🎬 Outro & Next Steps
