Sessions vs JWT vs Cookies: Understanding Authentication Approaches
1. What sessions are
You log in to an online shopping website. Without sessions, every time you open a new page, the website would ask:
"Who are you? Please log in again."
With a session, the websit
faisalsiddiqui.hashnode.dev4 min read