闲置30分钟后,网站无响应. [英] Site becomes unresponsive after 30 min Inactive.

查看:86
本文介绍了闲置30分钟后,网站无响应.的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你好.

我正在使用Inproc会话,我将会话超时设置为180分钟.
当我们在30分钟内不会与网站互动时.那么该站点将变得无响应,我们需要重新启动浏览器才能打开该站点.在重新启动浏览器之前,我们无法访问站点.

我不知道为什么会这样.会话超时之前站点正在注销...
我努力解决这个问题.请帮助我解决此问题,并向我推荐任何文章以了解发生这种情况的原因.
以下是web.config中使用的设置

Hello.

Am using Inproc session and i set session time out to 180 min.
When we wont interact with site for 30 min. then the site becomes unresponsive and we need to restart the browser to open the site. until we restart the browser we are unable to access site.

I dont know why this is happening. site is logging off before session time out...
i struggling to solve this issue. Please help me to solve this and refer me any article to know why this is happening.

following are the settings am using in web.config

<httpRuntime maxRequestLength="504800" executionTimeout="360"/>
    <sessionState timeout="180" mode="InProc" compressionEnabled="true" cookieless="UseCookies">
    </sessionState>
        <compilation debug="true" targetFramework="4.0">
            <assemblies>
                <add assembly="System.Design, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/>
                <add assembly="System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/>
      </assemblies>
   </compilation>
        <authentication mode="Forms">
        <forms timeout="180" name="ScoreStreetFormsAuth" loginUrl="Login.aspx" slidingExpiration="true" cookieless="UseCookies"/>
        </authentication>




提前谢谢.
Naveen G




Thanks in advance.
Naveen G

推荐答案

您必须更改托管IIS的权限.
更改应用程序池和网站级别.

您可以使用以下链接:

http://www.aspdotnet-suresh.com/2010/10/session-timeout-problem-in-aspnet.html [ ^ ]

http://support.citrix.com/article/CTX103672 [ http://nirajrules.wordpress.com/2011/08/26 /asp-net-session-timeout-not-working/ [
you have to change in hosting IIS .

change in Application pool and web site level.

you can use following links for that:

http://www.aspdotnet-suresh.com/2010/10/session-timeout-problem-in-aspnet.html[^]

http://support.citrix.com/article/CTX103672[^]

http://nirajrules.wordpress.com/2011/08/26/asp-net-session-timeout-not-working/[^]


这篇关于闲置30分钟后,网站无响应.的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆