If you want to use redis to store session in koa2, how to configure it?

const session = require("koa-session")
const redis = require("koa-redis")

how do you write your configuration? Can you post the code?

Jun.08,2022
Examples and specific configuration documents are available on

github, https://github.com/koajs/koa-...


MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1bd904f-308c1.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1bd904f-308c1.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?