express 4.0 , express-session with odd warning message

前端 未结 4 1671
时光说笑
时光说笑 2020-12-07 21:56

I am trying to work through setting up a nodejs app using express 4.x. After stumbling through the middleware-removal issues, I finally got it working.

however, ther

4条回答
  •  [愿得一人]
    2020-12-07 22:24

    I found issue useful:

    https://github.com/expressjs/session/issues/56

    app.use(session({
        secret: cookie_secret,
        resave: true,
        saveUninitialized: true
    }));
    

提交回复
热议问题