In the express documentation a distinction is made between express-session and cookie-session. There it says:
A user session can be stored in two main ways with cookies: on the server or on the client. This [cookie-session] module stores the session data on the client within a cookie, while a module like >express-session stores only a >session identifier on the client within a cookie and stores the session >data on the server, typically in >a database.
Aren't JWT tokens also just storing all the session data in a cookie and what might distinguish JWTs from the cookie-session module?