not persistent cookie values after enter in another route
hi, in my application i seted a values to cookie params, like img:


but when i change to another route of application when i try to get session the values of cookies params is empty...

how to save session in memory to prevent to lose values?
I am experiencing the same problem, am hoping to find a solution.
Having same problem
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