Skip to content Skip to sidebar Skip to footer

Req.session Is Undefined In Node?

I already looked at the other answers for similar questions, yet none of them worked for me. I two pieces of code, one to test that cookies were working(cookieTest.js), and one to

Solution 1:

Try using app.use(cookieParser("_secret_")); so that its the same secret as with Express


Post a Comment for "Req.session Is Undefined In Node?"