koajs / session

Simple session middleware for koa

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Docs: where is session data stored

desmap opened this issue · comments

I read in the readme of express-session: Note Session data is not saved in the cookie itself, just the session ID. Session data is stored server-side. Is this also the case for koa-session? If yes then there should be a note in the readme as well.

I think it is declared here https://github.com/koajs/session#external-session-stores

That link states:

The session is stored in a cookie by default

Which, to me, can be inferred as: Session data is saved in the cookie itself by default