在我的ASP.NET MVC5 website web.config中的登錄和會話超時如下:ASP.NET MVC認證或會話過期速度比設定
<system.web>
<authentication mode="Forms">
<forms loginUrl="~/Account/Login" slidingExpiration="true" timeout="60"/>
</authentication>
<sessionState mode="InProc" timeout="60"/>
</system.web>
仍然在五個會話或認證次數我們分鐘。我已經找到了我的虛擬主機提供增加在IIS中的超時,他們共享screenshot增加超時在IIS後,但沒有任何改變。任何想法爲什麼發生這種情況。
非常感謝Yamamoto san,它是IIS中** SystemIdleTime **變量的問題。我請求我的託管服務提供商更改此值,它工作。 我也發現這個很好** [文章](http://aspnetfaq.com/iis7-application-pool-idle-time-out-settings/)** – Sujoy