asp.net - .Net Session for load balanced Servers
问题描述
I have LoadBalanced WebServers in .Net. When a user logs in into the website, we are not sure if his next request goes to the same webserver. So will storing asp.net session in SqlServer DB solve the issue of recognizing the user when request switches between servers .
解决方案
As per below link, OutProc session is suitable for Load balanced servers. https://www.c-sharpcorner.com/forums/inproc-session-state-out-proc-session-state-in-asp-net
推荐阅读
- python - 字典中存在键时出现KeyError
- vba - 交叉表查询访问
- javascript - 如何在 Javascript 中通过 datepicker 过滤 JSON 数据?
- opencl - 英特尔 OpenCL 是否有任何 C++ 支持?
- python - PyQt5 中的多线程应用程序中的分段错误(错误)
- python - 将python中的类对象与指定条件进行比较
- python - 翻译 django 模型选择
- android - RenderFlex 溢出 Flutter
- javascript - Promise 在每个对象数组中处于待处理状态
- c - 尝试通过 C 中的结构实现堆栈,但得到以下代码的运行时错误。谁能解释并指出出了什么问题?