TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

JSON Web Tokens vs. Session Cookies: In Practice

7 pointsby wheresvic1almost 6 years ago

1 comment

moasdaalmost 6 years ago
Using JWT in the context of a session based application looks very alluring at first glance (easy scalability in combination with microservices etc.). But JWT gets rather complicated when you have to ensure maximum one session per user in business applications or you need a mechanism to revoke a JWT.<p>For a detailed discussion see <a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=18353874" rel="nofollow">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=18353874</a>