Sessions vs JWT vs Cookies: Understanding Authentication Approaches
1: What Sessions Are
Introduction
When you log into a website, the server needs to remember who you are across multiple requests. Since HTTP is stateless by default, sessions were invented to give the
anuragblogs.hashnode.dev11 min read