Home All Groups Group Topic Archive Search About
Author
1 Mar 2005 5:23 PM
anonymous
Maybe somebody had the same problem. we are running under
Windows 2003 with load balance for 2 web services and I
started to have a problem with session variable. Some time
is not available. Any idea why?
Example: on the same page 9 out of 10 okey for session
variable and 1 time is not there. No error msg displayed.

Author
4 Mar 2005 2:53 AM
Ken Cox [Microsoft MVP]
Do I understand that you have more than one server that can handle requests?
If there's no guarantee that the same server will handle every request from
the same browser, you can't count on the Session to be there. With multiple
servers, people store the session state on a third machine or in a database.

See the section titled Session State Management here:

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnpatterns/html/DesLoadBalancedCluster.asp


Show quoteHide quote
"anonymous" <anonym***@discussions.microsoft.com> wrote in message
news:1abe01c51e83$6c5b02a0$a501280a@phx.gbl...
> Maybe somebody had the same problem. we are running under
> Windows 2003 with load balance for 2 web services and I
> started to have a problem with session variable. Some time
> is not available. Any idea why?
> Example: on the same page 9 out of 10 okey for session
> variable and 1 time is not there. No error msg displayed.