【发布时间】:2017-02-13 11:37:48
【问题描述】:
在我的 ASP.NET MVC5 website web.config 中的登录和会话超时如下:
<system.web>
<authentication mode="Forms">
<forms loginUrl="~/Account/Login" slidingExpiration="true" timeout="60"/>
</authentication>
<sessionState mode="InProc" timeout="60"/>
</system.web>
会话或身份验证的时间仍为五分钟。我已经接近我的网络托管服务以增加 IIS 中的超时时间,他们在增加 IIS 中的超时时间后共享了@987654322@,但没有任何改变。知道为什么会这样。
【问题讨论】:
标签: c# asp.net-mvc iis forms-authentication session-timeout