Advertisement

03.13.2007 at 10:40AM PDT, ID: 22446680
[x]
Attachment Details

ASP.NET/StateServer Sessioning problem

Asked by Inward_Spiral in .Net Application Servers, Microsoft IIS Web Server, Windows 2003 Server

Tags:

Hello all,

I've been working with ASP.NET for a bit now, and have set up a load-balanced cluster of two Windows 2003 servers (IIS 6.0) for a web app I wrote, and am using the "StateServer" method of storing session data out of process. So, the two servers are both pointed to a third server where the state service resides, on the back-end.

Unfortunately, I haven't been able to get load-balancing to work properly in "StateServer" mode. Ideally, I would like to use an affinity setting of "None" with my app servers so that the load balancing is evenly distributed, but when I am using "None", I am constantly losing sessions. If I switch affinity mode to "Single" then I stop losing sessions, but the load balancing isn't as even since users are stuck going to one server or the other.

I have switched over to "SQLServer" to see if that would solve the problem. Oddly enough, I don't lose sessions anymore, but I take a huge performance hit.

Has anyone run into this before? Anyone with a possible fix? I need to get this to work in "StateServer", I can't use a SQL server as a long term fix, and getting the cluster evenly balanced would get rid of several headaches that "Single" affinity is causing.

Any comments/questions would definitely be appreciated!Start Free Trial
[+][-]03.13.2007 at 11:09AM PDT, ID: 18712571

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]03.13.2007 at 11:53AM PDT, ID: 18712921

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]03.13.2007 at 07:33PM PDT, ID: 18715534

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zones: .Net Application Servers, Microsoft IIS Web Server, Windows 2003 Server
Tags: stateserver
Sign Up Now!
Solution Provided By: Dave_Dietz
Participating Experts: 1
Solution Grade: A
 
 
[+][-]03.14.2007 at 05:28AM PDT, ID: 18717718

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]03.15.2007 at 08:13AM PDT, ID: 18727578

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]03.29.2007 at 08:32AM PDT, ID: 18817078

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]04.10.2007 at 06:34AM PDT, ID: 18882157

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32