samsmithnz
Senior Contributor
In my web.config file I have a line that controls the timeout in minutes:
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.
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.