'session' is undefined when using express / redis for session store

后端 未结 5 1944
半阙折子戏
半阙折子戏 2020-11-30 06:06

I\'m trying to use redis for sessions in my express app.

I do the following:

var express = require(\'express\');
var RedisStore = require(\'connect-r         


        
5条回答
  •  既然无缘
    2020-11-30 06:44

    I had the same problem. It turned out that redis was simply configured to a different port.

提交回复
热议问题