ASP .Net超时不起作用/ IIS

时间:2014-02-11 13:12:38

标签: asp.net timeout iis-7.5

我已经尝试过:

•Application Pool => Advanced Settings => Process Model => Idle Time-out(minutes) = 0

•Sites => ASP => Session Properties => Time-out = 720 minutes

•Sites => Configuration Editor => system.web/sessionState => timeout = 720 minutes

•Sites => Configuration Editor => system.web/roleManager => cookieTimeout = 720 minutes

web.config

<authentication mode="Forms">
  <forms loginUrl="~/Account/Login" timeout="720" />
</authentication>

<roleManager cookieTimeout="720" defaultProvider="DefaultRoleProvider">

<sessionState mode="InProc" customProvider="DefaultSessionProvider" timeout="720">

还尝试将回收(常规时间)设为0。

仍然,经过1小时后,会议结果减少了。

我该如何解决这个问题?

1 个答案:

答案 0 :(得分:0)

会话或表格身份验证到期了吗?它们是两种不同的超时,表现不一样。当你的内存不足时,你可以放松你的Session

Differences in forms auth timeout and session timeout