---
title: "Discussion on \"Sessions vs JWT vs Cookies: Understanding Authentication Approaches\" | Hashnode"
description: "Discussion on \"Sessions vs JWT vs Cookies: Understanding Authentication Approaches\". You log into a website. You close the tab. You come back an hour later — and you're still logged in. How does the website remember you? That's authentication state, and there are three main building b"
url: "https://hashnode.com/posts/sessions-vs-jwt-vs-cookies-understanding-authentication-approaches/69ee11243d6a492cdd02c6f8"
---

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

Discussion

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

You log into a website. You close the tab. You come back an hour later — and you're still logged in. How does the website remember you? That's authentication state, and there are three main building b

Apr 26 · 5 min read · pushkar-adhikari.hashnode.dev  
Read the article

-   [#javascript-authentication-jwt-sessions-cookies-webdevelopment-backend](https://hashnode.com/tag/javascript-authentication-jwt-sessions-cookies-webdevelopment-backend)

## Written by

[Pushkar Adhikari](https://hashnode.com/@pushkar-adhikari)

@pushkar-adhikari · India

  
[View profile](https://hashnode.com/@pushkar-adhikari)

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
