2012-04-19 48 views

回答

3

<sessionSate>的默認設置未在Machine.config文件或根Web.config文件中顯式配置。默認值都記錄在MSDN,我引用下面這

<sessionState 
    mode="InProc" 
    stateConnectionString="tcpip=127.0.0.1:42424" 
    stateNetworkTimeout="10" 
    sqlConnectionString="data source=127.0.0.1;Integrated Security=SSPI" 
    sqlCommandTimeout="30" 
    customProvider="" 
    cookieless="UseCookies" 
    cookieName="ASP.NET_SessionId" 
    timeout="20" 
    allowCustomSqlDatabase="false" 
    regenerateExpiredSessionId="true" 
    partitionResolverType="" 
    useHostingIdentity="true"> 
    <providers> 
     <clear /> 
    </providers> 
</sessionState> 
+0

是的,但它們來自哪裏?這些設置保護在.dll中? – Wachburn 2012-04-19 09:48:23

+0

是的,這些是配置部分的默認值 – Ramesh 2012-04-19 09:51:31

相關問題