Could i get data from redis using NectJS #190
-
I see data in redis like this is it encrypted anyway? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
If you're using the RedisStore provided by redis-store then it's encoded by Rust MsgPack. If you implement your own store you don't need to encode it this way. Alternatively you can decode the session manually. Please be aware that tower-sessions assumes that only it has write access to session storage so if other systems mutate this state it may cause trouble. |
Beta Was this translation helpful? Give feedback.
If you're using the RedisStore provided by redis-store then it's encoded by Rust MsgPack.
If you implement your own store you don't need to encode it this way. Alternatively you can decode the session manually.
Please be aware that tower-sessions assumes that only it has write access to session storage so if other systems mutate this state it may cause trouble.