【发布时间】:2014-11-17 15:49:18
【问题描述】:
我已在我的 web.config 中完成此操作。
<system.web>
<sessionState mode="InProc" timeout="3"></sessionState>
<authentication mode="Forms" >
<forms loginUrl="~/Account/Login" timeout="2880"/>
</authentication>
会话超时后,它会清除所有数据,但不会重定向到登录页面。
【问题讨论】:
标签: asp.net-mvc asp.net-mvc-3 asp.net-mvc-4 session-timeout