---
title: "Discussion on \"Sessions vs JWT vs Cookies: Understanding Authentication Approaches\" | Hashnode"
description: "Discussion on \"Sessions vs JWT vs Cookies: Understanding Authentication Approaches\". 1. The Building Blocks: Cookies, Sessions, and JWTs\nBefore comparing strategies, let's define the tools we use to identify users.\nWhat are Cookies?\nA Cookie is a small piece of data stored directly in"
url: "https://hashnode.com/posts/sessions-vs-jwt-vs-cookies-understanding-authentication-approaches/69e26c2ffd22b8ad625a3664"
---

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

Discussion

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

1\. The Building Blocks: Cookies, Sessions, and JWTs Before comparing strategies, let's define the tools we use to identify users. What are Cookies? A Cookie is a small piece of data stored directly in

Apr 17 · 4 min read · dskwebdev.hashnode.dev  
Read the article

-   [#chaicode](https://hashnode.com/tag/chaicode)
-   [#chaiaurcode](https://hashnode.com/tag/chaiaurcode)
-   [#jwt](https://hashnode.com/tag/jwt)
-   [#session](https://hashnode.com/tag/session)
-   [#cookies](https://hashnode.com/tag/cookies)
-   [#cookie-based-authentication](https://hashnode.com/tag/cookie-based-authentication)
-   [#learning-journey](https://hashnode.com/tag/learning-journey)

## Written by

[Diwya sudarshan kaushik](https://hashnode.com/@DSKaushik)

@DSKaushik · Jaipur

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

Fear is not good for great

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
