我也行:爲什麼設置爲SqlServer時會話超時工作不正常?
<sessionState mode="SQLServer" sqlConnectionString="Data Source=localhost;User Id=sa;Password=test;" timeout="1" />
其中在SQL狀態服務器存儲會話。但一分鐘後它不會正常超時。
當我改變行使用是InProc模式:
<sessionState mode="InProc" sqlConnectionString="Data Source=localhost;User Id=sa;Password=test;" timeout="1" />
它做一分鐘超時後。
任何想法爲什麼會發生這種情況?如何在使用SqlServer時使其超時?
表單身份驗證超時和會話超時是兩個單獨的事情。 – KingOfHypocrites