---
title: "Discussion on \"Sessions, Cookies, and JWT: Which Authentication Should You Use?\" | Hashnode"
description: "Discussion on \"Sessions, Cookies, and JWT: Which Authentication Should You Use?\". When I started building my first full-stack project, I hit a wall almost immediately — how does a server know who I am after I log in?\nI kept running into terms like sessions, cookies, and JWT tokens,"
url: "https://hashnode.com/posts/authentication/69f0c5e610a70b3335c5cd98"
---

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

Discussion

# [Sessions, Cookies, and JWT: Which Authentication Should You Use?](https://dipan-roy-choudhury.hashnode.dev/authentication?utm_source=hashnode&utm_medium=feed)

When I started building my first full-stack project, I hit a wall almost immediately — how does a server know who I am after I log in? I kept running into terms like sessions, cookies, and JWT tokens,

Apr 28 · 9 min read · dipan-roy-choudhury.hashnode.dev  
Read the article

-   [#chaicode](https://hashnode.com/tag/chaicode)

## Written by

[Dipan Roy Choudhury](https://hashnode.com/@dipan-roy)

@dipan-roy

  
[View profile](https://hashnode.com/@dipan-roy)

Keep it Simple

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
