ASP.NET Web Forms Session Loss in Load-Balanced Environment
We're encountering an issue with an older ASP.NET Web Forms application that is load balanced between servers. During user sessions, we're observing the ASP.NET_SessionId being lost midway through their journey, which redirects them back to the initial page of the application.
Interestingly, disabling one of the web servers seems to alleviate the problem temporarily.
We've already attempted adding a machine key as per common advice, but unfortunately, the issue persists. I'm wondering if there might be other factors at play that we're overlooking.
Slightly off topic, but our client connects through a proxy, and while it might be a stretch, I'm considering whether their system could potentially be sending subsequent requests from different IP addresses, contributing to this problem. While this might not fall squarely within the domain of .NET/C#, any insights or suggestions would be greatly appreciated.
0 Replies