Can someone explain what are sessions and how they work? or What are sessions and why are they import

14 Replies, 894 Views

Wow, thanks everyone! This makes way more sense now. So sessions are like a backstage pass, and cookies are just the ticket stub—got it.

I tried the Express-session demo someone mentioned, and it’s actually not as scary as I thought. Still confused about how sessions expire tho—like, what decides when they “end”?

Also, MDN’s guide was a lifesaver. Appreciate y’all! 🙌

Messages In This Thread



Users browsing this thread: 1 Guest(s)