ASP.Net应用程序在90秒后超时 [英] ASP.Net application gets timeout after 90 seconds

查看:104
本文介绍了ASP.Net应用程序在90秒后超时的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在我的应用程序中,我从近70台服务器中获取用户详细信息。这可能需要最多2分钟才能获取详细信息。但是当应用程序超过90秒时,应用程序会超时。屏幕没有变化,除了我在左下角收到超时异常(浏览器中的警告消息)



我已将执行超时设置为3600在配置文件中如下。但它仍然会在90秒内超时。

 <   httpRuntime     maxRequestLength   =  2147483647    executionTimeout   =  3600  /  >  



请帮我解决这个问题。在此先感谢

解决方案

亲爱的,



在webconfig文件中使用以下代码

 <   sessionstate    无Cookie   =  false    timeout   =  30000    /  >  


In my application I am fetching users details from almost 70 servers. This might take a max of 2 mins to fetch the details. but when the application exceeds 90 sec the application times out. there is no change in the screen except i am getting the timeout exception in the bottom Left corner(the alert message in the browser)

I have set execution timeout to 3600 in config file as below. but still it is getting Timed out in 90 secs.

<httpRuntime maxRequestLength="2147483647" executionTimeout="3600"/>


Please help me resolving this issue. Thanks in advance

解决方案

Dear,

Use the below code in webconfig file

<sessionstate cookieless="false" timeout="30000" />


这篇关于ASP.Net应用程序在90秒后超时的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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