Sessions and Cookies

A session keeps a student signed in the way a coat check does, with the record on the server and only a random ticket in the browser's cookie, and express-session sets it up with the HttpOnly, Secure and SameSite flags; it's the simpler choice for one website on its own server.

By

Updated

Cheat sheet: Sessions and Cookies
Category
Node.js
Level
Journeyman
Tags
Cookie, HttpOnly, nodejs, Session (web-development), Stateless, web-development