MENU

Fun & Interesting

What is JWT token and JWT vs Sessions

Chai aur Code 160,726 lượt xem 10 months ago
Video Not Working? Fix It Now

https://chaicode.com
In this video, we'll explore the differences between JSON Web Tokens (JWT) and sessions for authentication in web applications. We'll cover how JWTs are stateless, storing all necessary information within the token itself, making them ideal for scalable, distributed systems. On the other hand, sessions store user state on the server, referenced by a session ID, which is sent to the client as a cookie. We'll discuss the pros and cons of each approach, including security implications, storage methods, and typical use cases. By the end of this video, you'll have a clear understanding of when to use JWTs versus sessions in your web development projects.

Welcome to chai aur code, a coding/programming dedicated channel in Hindi language. Now you can learn best of programming concepts with industry standard practical guide in Hindi language.

All source code is available at my Github account:
https://github.com/hiteshchoudhary

Our Open-Source Project is here: https://freeapi.app

Join me at whatsapp: https://hitesh.ai/whatsapp

for community discord: https://hitesh.ai/discord

Instagram pe yaha paaye jaate h:
https://www.instagram.com/hiteshchoudharyofficial/

HTML video series: https://www.youtube.com/watch?v=XmLOwJHFHf0&list=PLu71SKxNbfoDBNF5s-WH6aLbthSEIMhMI

Complete javascript series: https://www.youtube.com/watch?v=Hr5iLG7sUa0&list=PLu71SKxNbfoBuX3f4EOACle2y-tRC5Q37

Complete Reactjs series: https://www.youtube.com/watch?v=vz1RlUyrc3w&list=PLu71SKxNbfoDqgPchmvIsL4hTnJIrtige

Javascript and react interview series: https://www.youtube.com/watch?v=1wqCyz7XrV4&list=PLu71SKxNbfoCy_MsA98SBfvUKF5eQit6L

Backend development with Javascript: https://www.youtube.com/watch?v=EH3vGeqeIAo&list=PLu71SKxNbfoBGh_8p_NS-ZAh6v7HhYqHW

Python Series: https://www.youtube.com/watch?v=Ca5DLSDfPec&list=PLu71SKxNbfoBsMugTFALhdLlZ5VOqCg2s

Comment