1
我想在asp.net網絡配置文件中設置會話超時時間。我通過Google來獲得最好的方法。然後我得到了多個結果。我很困惑,設置會話狀態以下code.which我一個選擇適當的會話時間out.Can我得到一個描述關於它的如何設置網絡配置文件中的會話超時設置
code 1:
<configuration><system.web>
<compilation debug="true" targetFramework="4.5"/>
<httpRuntime targetFramework="4.5" />
<sessionState timeout="20000"></sessionState>
code 2:
<sessionState mode="InProc" cookieless="false" timeout="2000"/>
code 3:
<sessionState timeout="40" />