koa-session2 icon indicating copy to clipboard operation
koa-session2 copied to clipboard

Middleware for Koa2 to get/set session

Results 6 koa-session2 issues
Sort by recently updated
recently updated
newest added

In version 2.2.10, there is an error. In index.js there is a call with: ``` id = await store.getID(24); ``` But in `store.js` the function `getID` is not a promise:...

enhancement

I've put some console.log on login and logout and I always get a sequence of 1# get, 2# destroy, #3 set, e.g. for logout ``` POST /api/User/logout? 200 419ms 4b...

Is it possible to get sessions working with the client without cookies? For instance, rather than using cookies in a browser-led `GET`, is it possible to use `POST` with JSON...

when i use [koa-session2](https://github.com/Secbone/koa-session2) with koa-passport 6.0,I got the error: req.session.regenerate is not a function It seems to be because of this https://github.com/jaredhanson/passport/issues/907