首页 > 解决方案 > .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 .

标签: asp.netsql-serversessioniissticky-session

解决方案


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


推荐阅读