我有管理页面,我编辑那里我的网站,哪些与SQL的工作。 3-4分钟后,管理员页面注销并再次要求我输入用户名和密码。如何在超时时间更改分钟数?超时,asp.net c#,帐户 - 管理
我在web.config中尝试这样做:
<authentication mode="Forms">
<forms loginUrl="~/Account/Login.aspx" timeout="60"/>
</authentication>
这:
<authentication mode="Forms">
<forms loginUrl="~/Account/Login.aspx" timeout="7200"/>
</authentication>
...这:
<httpRuntime requestValidationMode="2.0" useFullyQualifiedRedirectUrl="true"
executionTimeout="72000"
appRequestQueueLimit="90000"
shutdownTimeout="90000" />
,所有的结果都是同样... 3-4分钟后(即使我点击了,不仅在空闲时) - 系统注销。
检查您的网站是否没有发生任何异常,这会破坏会话。 – 2011-05-13 12:36:46
你能解释一下更详细的含义吗? – Oshrib 2011-05-13 12:51:22