---
title: "#cookie-based-authentication articles | Hashnode"
description: "Explore 36 articles tagged #cookie-based-authentication on Hashnode. Tutorials, guides, and how-tos from the community."
url: "https://hashnode.com/tag/cookie-based-authentication"
---

Tag

# #cookie-based-authentication

36 posts · 1 followers

[VISHAL RAY](https://hashnode.com/@rayvishal) · [May 10](https://hashnode.com/posts/sessions-jwts-and-cookies-explained/6a008844e3eebc2e20823270)

### [The Modern Guide to Auth: Sessions, JWTs, and Cookies Explained](https://rayvishal.hashnode.dev/sessions-jwts-and-cookies-explained?utm_source=hashnode&utm_medium=feed)

While building authentication you often confuse in Session, JWTs and cookies . in this blog we explore everything from screteh.

1 min read · [rayvishal.hashnode.dev](https://rayvishal.hashnode.dev/sessions-jwts-and-cookies-explained?utm_source=hashnode&utm_medium=feed)

[Nausheen Faiyaz](https://hashnode.com/@NausheenFaiyaz) · [May 9](https://hashnode.com/posts/sessions-vs-jwt-vs-cookies-understanding-authentication-approaches/69ff9661f239332df4f6bd7f)

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

Learn the difference between sessions, JWT, and cookies with simple explanations and real-world authentication examples.

6 min read · [codexninja.hashnode.dev](https://codexninja.hashnode.dev/sessions-vs-jwt-vs-cookies-understanding-authentication-approaches?utm_source=hashnode&utm_medium=feed)

[Kushagra Trivedi](https://hashnode.com/@kushagratrvd) · [May 9](https://hashnode.com/posts/sessions-vs-jwt-vs-cookies/69ff3a77f239332df4b5f51a)

### [Sessions vs JWT vs Cookies](https://kushagrablogs.hashnode.dev/sessions-vs-jwt-vs-cookies?utm_source=hashnode&utm_medium=feed)

Topics to Cover What sessions are What cookies are What JWT tokens are Stateful vs stateless authentication Differences between session-based auth and JWT When to use each method What sessions

6 min read · [kushagrablogs.hashnode.dev](https://kushagrablogs.hashnode.dev/sessions-vs-jwt-vs-cookies?utm_source=hashnode&utm_medium=feed)

[Santra](https://hashnode.com/@Santra) · [May 6](https://hashnode.com/posts/sessions-vs-jwt-vs-cookies-how-authentication-actually-works/69fb9dcaaa61a8e713e49c10)

### [Sessions vs JWT vs Cookies: How Authentication Actually Works](https://blog-santra.hashnode.dev/sessions-vs-jwt-vs-cookies-how-authentication-actually-works?utm_source=hashnode&utm_medium=feed)

Every time you log into a website and it still knows who you are on the next page that's authentication doing its job. But how it knows is where things get interesting, and where a lot of confusion li

7 min read · [blog-santra.hashnode.dev](https://blog-santra.hashnode.dev/sessions-vs-jwt-vs-cookies-how-authentication-actually-works?utm_source=hashnode&utm_medium=feed)

[Janardan Mondal](https://hashnode.com/@janardan420) · [Apr 26](https://hashnode.com/posts/sessions-vs-jwt-vs-cookies-understanding-authentication-approaches/69edf9fd3d6a492cddf27307)

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

Understanding Sessions, Cookies, and JWT Authentication

3 min read · [janardanm.hashnode.dev](https://janardanm.hashnode.dev/sessions-vs-jwt-vs-cookies-understanding-authentication-approaches?utm_source=hashnode&utm_medium=feed)

[Diwya sudarshan kaushik](https://hashnode.com/@DSKaushik) · [Apr 17](https://hashnode.com/posts/sessions-vs-jwt-vs-cookies-understanding-authentication-approaches/69e26c2ffd22b8ad625a3664)

### [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

4 min read · [dskwebdev.hashnode.dev](https://dskwebdev.hashnode.dev/sessions-vs-jwt-vs-cookies-understanding-authentication-approaches?utm_source=hashnode&utm_medium=feed)

[Md. Amirul Islam](https://hashnode.com/@amir006) · [Jan 15](https://hashnode.com/posts/backend-security-part-6/696880ee9cc4d3c701ee0338)

### [Backend Security (Part-6)](https://ainahid.hashnode.dev/backend-security-part-6?utm_source=hashnode&utm_medium=feed)

Cookie Security

7 min read · [ainahid.hashnode.dev](https://ainahid.hashnode.dev/backend-security-part-6?utm_source=hashnode&utm_medium=feed)

[Null Siryn](https://hashnode.com/@nullsiryn) · [Jan 1](https://hashnode.com/posts/kramazon-ctf-writeup-cookie-forgery-and-idor-exploit/6956005c0e3d92df55b4418c)

### [Kramazon CTF Writeup: Cookie Forgery & IDOR Exploit](https://ctfs.hashnode.dev/kramazon-ctf-writeup-cookie-forgery-and-idor-exploit?utm_source=hashnode&utm_medium=feed)

Learn how to solve the Kramazon Web Exploitation CTF challenge. This write-up covers JavaScript analysis, XOR decoding, and cookie forgery to bypass auth.

5 min read · [ctfs.hashnode.dev](https://ctfs.hashnode.dev/kramazon-ctf-writeup-cookie-forgery-and-idor-exploit?utm_source=hashnode&utm_medium=feed)

[Vishal Gupta](https://hashnode.com/@v1shalgupt9) · [Dec 1, 2025](https://hashnode.com/posts/how-cookies-work-in-express-your-apps-way-of-saying-i-remember-you/692e02c32074126e18d4f48f)

### [How Cookies Work in Express: Your App’s Way of Saying ‘I Remember You’](https://backend-scratch.hashnode.dev/how-cookies-work-in-express-your-apps-way-of-saying-i-remember-you?utm_source=hashnode&utm_medium=feed)

Learn how to use cookies in Express: set, read, and secure them with cookie-parser for effective user sessions and authentication

4 min read · [backend-scratch.hashnode.dev](https://backend-scratch.hashnode.dev/how-cookies-work-in-express-your-apps-way-of-saying-i-remember-you?utm_source=hashnode&utm_medium=feed)

[Andreas Schommer](https://hashnode.com/@aschommer) · [Nov 15, 2025](https://hashnode.com/posts/minimalist-approach-to-aspnet-core-forms-authentication/6918369e390fdf0142c20810)

### [Minimalist Approach to ASP.NET Core Forms Authentication](https://aschommer.hashnode.dev/minimalist-approach-to-aspnet-core-forms-authentication?utm_source=hashnode&utm_medium=feed)

HTTP Cookies HTTP is stateless by default, so there is no concept of an authenticated user that persists beyond a single request. To overcome this limitation in a web application, you can use cookies. A cookie can be set in response to an HTTP reques...

8 min read · [aschommer.hashnode.dev](https://aschommer.hashnode.dev/minimalist-approach-to-aspnet-core-forms-authentication?utm_source=hashnode&utm_medium=feed)
