What's the difference between cookie-session and JWT tokens?

Viewed 144

This library here stores your session data on the client https://www.npmjs.com/package/cookie-session. But doesn't that make it a JWT token (as opposed to a "session")?

Is the difference that cookie-session stores the data in cookies, versus JWT tokens are usually stored in localStorage?

Just confused about terminology here, thanks.

0 Answers
Related