Alternatives of InProc Sessions in .NET Core

ぃ、小莉子 提交于 2020-07-20 03:44:08

问题


I am working on .NET Core web application. I have UserDetails table storing user login credentials & other details.
At the time of Login, after checking the user entered credentials against database table I use sessions to manage LoggedIn user details-userId,companycode etc. I need these details across the website for various operations. But it doesn't work properly on UAT as we have Load Balancers configured on Prod & UAT.

Now I need to use some other mechanism to maintain LoggedIn User details across the requests. I am checking DistributedCache & nCache but not able to get something useful.
What can be the secure alternatives of session to store user data?

Thanks.

来源:https://stackoverflow.com/questions/61813486/alternatives-of-inproc-sessions-in-net-core

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!