---
title: "Discussion on \"Sessions vs JWT vs Cookies: Understanding Authentication Approaches\" | Hashnode"
description: "Discussion on \"Sessions vs JWT vs Cookies: Understanding Authentication Approaches\". Introduction\nWhenever you log into an application like Instagram, Netflix, or Gmail, the app somehow “remembers” who you are—even after refreshing the page or opening another route.\nBut how does this"
url: "https://hashnode.com/posts/sessions-vs-jwt-vs-cookies-understanding-authentication-approaches/69ff9377f239332df4f50938"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Sessions vs JWT vs Cookies: Understanding Authentication Approaches](https://seesionvsjwtvscookiesbyarmaan.hashnode.dev/sessions-vs-jwt-vs-cookies-understanding-authentication-approaches?utm_source=hashnode&utm_medium=feed)

Introduction Whenever you log into an application like Instagram, Netflix, or Gmail, the app somehow “remembers” who you are—even after refreshing the page or opening another route. But how does this

May 9 · 8 min read · seesionvsjwtvscookiesbyarmaan.hashnode.dev  
Read the article

-   [#chaicode](https://hashnode.com/tag/chaicode)
-   [#chaiaurcode](https://hashnode.com/tag/chaiaurcode)
-   [#chaicohort](https://hashnode.com/tag/chaicohort)
-   [#chaicode-webdev-cohort-2026](https://hashnode.com/tag/chaicode-webdev-cohort-2026)
-   [#authentication](https://hashnode.com/tag/authentication)
-   [#javascript](https://hashnode.com/tag/javascript)
-   [#nodejs](https://hashnode.com/tag/nodejs)
-   [#jwt](https://hashnode.com/tag/jwt)
-   [#cookies](https://hashnode.com/tag/cookies)
-   [#session](https://hashnode.com/tag/session)

## Written by

[Armaan Garg](https://hashnode.com/@armaangarg73)

@armaangarg73

  
[View profile](https://hashnode.com/@armaangarg73)

I am a builder

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
