DeeAnn,
Jeff is right about having to use server affinity if you want to use InProc
Sessions. I just wanted to mention to keep in mind that InProc session are
somewhat volatile, and are subject to being lost when the asp_net process
decides to recycle itself, which it does on occasion. If you want to ensure
that you session will not be lost, you might want to look into using one of
the other session state management methods.
You can look here for a bit more information:
http://msdn.microsoft.com/library/de...sp12282000.asp
HTH
-Cliff
"Jeff Siver" <jsiver@nospan.dls.net> wrote in message
news:eWNmmV7pDHA.1496@TK2MSFTNGP11.phx.gbl...[color=blue]
> Did you switch from InProc sessionState to StateServer or SQLServer? If
> not, this is the problem.
>
> InProc session state does not work in a balanced environment unless you
> enable server affinity. Server affinity indicates that all requests from[/color]
a[color=blue]
> specific IP always go to a specific web server (so server affinity defeats
> some of the purpose of load balancing).
>
> Jeff
>
> "DeeAnn" <deeann.imhoff@suntrust.com> wrote in message
> news:2e85df03.0311100930.4fae8c45@posting.google.c om...[color=green]
> > We've encountered a "flaky" situation with a Session variable holding
> > a data set on load balanced servers; server session with cookies is
> > set up.
> >
> > Background:
> > Session variable holds a dataset.
> >
> > Dataset is retrieved and updated periodically. Eventually the dataset
> > is sent to a web service for processing.
> >
> > In production, the asp.net application is deployed on load balanced
> > servers, server session using cookies is configured.
> >
> > Periodically, not always, the dataset does not update in the Session
> > variable. Then when the dataset is later retrieved, it retains its
> > origial values, losing updates. No error is encountered.
> >
> > The problem has only occurred in the load balanced environment. In
> > general the session state seems to work. It just behaves oddly from
> > time-to-time when the Session variable is being used to hold a
> > dataset.
> >
> > Any ideas on what configuration setting might be missing, and thus
> > causing the sporadic bad behavior? Appreciate any assistance.[/color]
>
>[/color]