UIPAB & Load Balancing

  • Thread starter Nikander Bruggeman
  • Start date
N

Nikander Bruggeman

I keep losing session state when I store UIPAB state in the
SessionStateObject. The asp.net session state object itself stores
it's state in SQL server, I'm using cookieless session state.

This strange behavior occurs in a load balanced environment consisting
of 2 web servers.

The next part is taken from the web.config file:

<sessionState
mode="InProc"
sqlConnectionString="someconnectionstring"
cookieless="true"
timeout="20"
/>

At this point I'm checking out
http://support.microsoft.com/default.aspx?scid=kb;en-us;325056 and
considering adding response.applyapppathmodifier to response.redirects
in the uipab.

Has anybody experienced this before? Is the UIPAB capable of
supporting load balancing? Any tips?

Kind regards,
Nikander Bruggeman
 
K

Karl

Nikander:
I'm a little confused, you are saying you use SQL Server for your session
state, but your mode is InProc instead of SQLServer...was that just a typo?

Karl
 
N

Nikander Bruggeman

Definitaly a typo...


This is the persistence provider I'm using:

<statePersistenceProvider
name="SessionStatePersistence"

type="Microsoft.ApplicationBlocks.UIProcess.SessionStatePersistence,
Microsoft.ApplicationBlocks.UIProcess,
Version=1.0.0.0,Culture=neutral,PublicKeyToken=7bb482996a1b0eeb"
/>


The session state is stored in sql server:

<sessionState
mode="SQLServer"
sqlConnectionString="someconnstring"
cookieless="true"
timeout="60"

/>


Navigation graphs use SessionStatePersistence:

<navigationGraph
startView="Sstartview"
iViewManager="aviewmanager"
name="aname"
state="State"
statePersist="SessionStatePersistence"
cacheExpirationMode="Sliding"
cacheExpirationInterval="1000000"
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,967
Messages
2,570,148
Members
46,694
Latest member
LetaCadwal

Latest Threads

Top