hey!, great content I followed your code but there is a slight problem. When I make a session in my login route (req.session.user = myUser), it shows the user in my session. BUT when I try to access req.session.user from a different route (say- home) it dosen't exist. PLS help.
Ryan, your voice is as clear as if I were listening to a podcast.
High-quality Content!
the session data is not persisting across routes, even when using session.save() or res.send...
hey!, great content
I followed your code but there is a slight problem.
When I make a session in my login route (req.session.user = myUser), it shows the user in my session. BUT when I try to access req.session.user from a different route (say- home) it dosen't exist.
PLS help.
I agree, this is also my current issue, i have tried lots of methods for no success