Secbone
Secbone
@lostpebble It seems you will update `userViews` on every single request and set it in the session. If you want update the session without `destroy`, maybe you can use the...
@RobertPrediger what version of `node` do you use? I think the `await` keyword is compatible with the synchronization function.
@RobertPrediger Do you use a custom store object? I think if it is an async function problem, it will be failed at this line https://github.com/Secbone/koa-session2/blob/9ee7b2696f4f77bbaa354e3201952f754e98196e/index.js#L12-L14 before the `getID` function. π€
Duplicate of #33
@antony-hai It is almost same between Redis and MongoDB. You can use some modules like `mongoose` to make it easier. π
@baorv I did not develop with firebase before, is there any problem?
@baorv did your try to set session key to `__session` ? ```javascript app.use(session({ key: '__session', })); ```
@Panoplos Could you modify the headers of HTTP request? You just modify the `Cookie` field in request headers.
@zero-jack εͺδΈͺηζ¬οΌ
@kevin-meng could you add some comments and docs for it?