In Windows Server 2003, you can set the recycling threshhold
for the Application Pool in which an application runs.
In the IIS Manager, scroll down the left hand panel to "Application Pools",
and select the Application Pool in which your app runs.
Right-click the App Pool and select "Properties" from the context menu.
You'll see several options for setting the time/memory limit/number of requests
at which the application pool will be recycled.
Just make sure your time setting isn't set too low.
Leave the rest untouched until you are familiar with the settings.
You don't say whether you tried using State Server.
!> Also, have you tried to use State Server, instead of InProc state management?
!> State Server state management, as does SQL Server, gets around
!> the loss of session variables due to Application/App Pool recycling.
Just configure it in web.config :
<sessionState
mode="StateServer"
stateConnectionString="tcpip=127.0.0.1:42424"
stateNetworkTimeout="10"
cookieless="false"
timeout="20"
/>
....and in the "Services" applet of the W2K3 Server, start the State Server service.
That usually works to prevent Session variable losses.
Juan T. Llibre, asp.net MVP
asp.net faq :
http://asp.net.do/faq/
foros de asp.net, en español :
http://asp.net.do/foros/
======================================