Closed djrolleyes closed 6 years ago
maybe you can try https://github.com/koajs/koa-redis
@dead-horse Well, koa-redis uses koa-generic-session, and when you get this page at github there is a message: koa-session support external store now, please migrate to koa-session. Anyways, it's increadably interesting to know how exactly should I use store object to store session object in Redis.
koa-redis also support koa-session, and if you want to know how to store session in redis, just checkout koa-redis source code
Here is the code. What exactly should I do to get correct key to set it into the Redis DB?