Session State Timeouts.

samsmithnz

Senior Contributor
Joined
Jul 22, 2003
Messages
1,038
Location
Boston
In my web.config file I have a line that controls the timeout in minutes:
Code:
<sessionState mode="InProc" stateConnectionString="tcpip=127.0.0.1:42424" sqlConnectionString="data source=127.0.0.1;Trusted_Connection=yes" cookieless="false" timeout="180"/>

This example is set for 3 hours. I noticed a setting in IIS today (properties>Configuration>Options) where the session state timeout is set to 20 minutes. Does anyone know how these settings work together? Do they have to be the same or does one override the other...?

thanks.
 
Back
Top