Open anu-priya opened 9 years ago
I get this error when I'm trying to use req.flash in my project, I am using express 4.0.0 where all my node modules installed in Windows PC
res.render('login.ejs', { message: req.flash('loginMessage') });
Kindly do the needful to fix this.
Thanks In Advance :)
Did you set up sessions?
I get this error when I'm trying to use req.flash in my project, I am using express 4.0.0 where all my node modules installed in Windows PC
res.render('login.ejs', { message: req.flash('loginMessage') });
Kindly do the needful to fix this.
Thanks In Advance :)