not persistent cookie values after enter in another route
lokize opened this issue · 3 comments
lokize commented
mirker21 commented
I am experiencing the same problem, am hoping to find a solution.
kkmr2011 commented
Having same problem
joewagner commented
HI @lokize @kkmr2011 and @mirker21
Looks like you might not be using the session.cookie
property correctly. The valid settable properties are listed in the readme.
They are cookie.expires
and cookie.maxAge
, you can't set role
or client
and if you did it would not have any effect.
If you are hoping to save those values in the session, you might want to try doing something like
req.session.userClient = response.data.user.profile.client