samsmithnz Posted February 1, 2006 Posted February 1, 2006 In my web.config file I have a line that controls the timeout in minutes: <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. Quote Thanks Sam http://www.samsmith.co.nz
Administrators PlausiblyDamp Posted February 1, 2006 Administrators Posted February 1, 2006 The IIS setting only affects pages serverd by IIS (asp etc.) anything that is served by .Net will use the web.config setting. Quote Posting Guidelines FAQ Post Formatting Intellectuals solve problems; geniuses prevent them. -- Albert Einstein
samsmithnz Posted February 1, 2006 Author Posted February 1, 2006 That's what I thought, thanks. Quote Thanks Sam http://www.samsmith.co.nz
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.