這裏是我的web.config文件中的一個片段:asp.net的web.config超時
<system.web>
<sessionState timeout="1440"></sessionState>
<authentication mode="Forms">
<forms loginUrl="~/Account/LogOn" timeout="1440"
cookieless="UseCookies"
/>
</authentication>
我越來越會話到期快得多超過1天(一小時內或左右)。是否有任何其他IIS或ASP.NET設置可能會影響此? (該應用程序沒有設置任何代碼超時)。
@尼爾騎士 - 不 - 這些會導致會話超時? – Journeyman
它是'空閒'設置後關閉工作進程嗎? (目前20分鐘) – Journeyman
@Neil - 如果你輸入這個作爲答案,我可以給你點 – Journeyman