Skip to content

Could i get data from redis using NectJS #190

Answered by maxcountryman
HosMercury asked this question in Q&A
Discussion options

You must be logged in to vote

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.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by HosMercury
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants