Updated: July 11, 2020 (March 12, 2001)

  Sidebar

Supporting Session State with NLB

My Atlas / Sidebar

416 wordsTime to read: 3 min
Rob Helm by
Rob Helm

As managing vice president, Rob Helm covers Microsoft collaboration and content management. His 25-plus years of experience analyzing Microsoft’s technology... more

Some Web applications won’t work properly with Network Load Balancing (NLB) because they store persistent user data (called sessions) on Web servers. However, Application Center includes a Web server extension called the request forwarding component that enables some Web applications that use sessions to run unaltered in an NLB cluster.

The Problem of Sessions

IIS enables a Web application to maintain session data for a user that lasts across multiple requests by the user. For example, an online ordering application might maintain the user’s shopping cart as part of the user’s session. IIS uses “session cookies” stored on the user’s machine and supplied by the user’s browser in each request to keep track of which session belongs to which user.

Ideally, NLB would always route connections from a user with an active session to the server where that session is stored. However, NLB doesn’t know about sessions and doesn’t look at session cookies (or any other kind of cookies, for that matter) when deciding which Web server should handle an incoming request.

Atlas Members have full access

Get access to this and thousands of other unbiased analyses, roadmaps, decision kits, infographics, reference guides, and more, all included with membership. Comprehensive access to the most in-depth and unbiased expertise for Microsoft enterprise decision-making is waiting.

Membership Options

Already have an account? Login Now