---
title: "Discussion on \"Sessions vs JWT vs Cookies: Understanding Authentication Approaches\" | Hashnode"
description: "Discussion on \"Sessions vs JWT vs Cookies: Understanding Authentication Approaches\". What sessions are\nSessions in authentication are server-side records created after a user logs in, maintaining state across stateless HTTP requests. They typically store user ID, session ID, and expir"
url: "https://hashnode.com/posts/sessions-vs-jwt-vs-cookies-understanding-authentication-approaches/69f05ebb6ad9c5aa3b7740c2"
---

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

Discussion

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

What sessions are Sessions in authentication are server-side records created after a user logs in, maintaining state across stateless HTTP requests. They typically store user ID, session ID, and expir

Apr 28 · 10 min read · hitakshi120.hashnode.dev  
Read the article

-   [#jwt-tokenjson-webtokentoken-authenticationaccess-tokenjson-tokenjwt-securityjwt-authenticationtoken-based-authenticationjwt-decodingjwt-implementation](https://hashnode.com/tag/jwt-tokenjson-webtokentoken-authenticationaccess-tokenjson-tokenjwt-securityjwt-authenticationtoken-based-authenticationjwt-decodingjwt-implementation)
-   [#cookies-vs-sessions-vs-tokens](https://hashnode.com/tag/cookies-vs-sessions-vs-tokens)
-   [#cookies](https://hashnode.com/tag/cookies)
-   [#sessions](https://hashnode.com/tag/sessions)
-   [#sessions-vs-jwt-vs-cookies-understanding-authentication-approaches](https://hashnode.com/tag/sessions-vs-jwt-vs-cookies-understanding-authentication-approaches)
-   [#chaicode](https://hashnode.com/tag/chaicode)

## Written by

[Hitakshi](https://hashnode.com/@hitakshi)

@hitakshi

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

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
