是否有可能增加请求超时只是一个特定的网页?我工作的ASP.Net 4.0,我需要一个特定的页面上有一个较长的请求超时,因为它负责发起一个长时间运行的进程。谢谢。
Is it possible to increase the request timeout for just the one particular web page? I am working on ASP.Net 4.0 and I need one particular page to have a longer request timeout, since it is responsible for initiating a long running process. Thanks.
使用Web.config文件:
Use Web.config:
<location path="Page.aspx">
<system.web>
<httpRuntime executionTimeout="180"/>
</system.web>
</location>
上一篇:如何在PowerShell中使用DTE?如何在、PowerShell、DTE
下一篇:如何自定义Lucene.NET搜索的符号词不区分大小写(EG&QUOT; C#&QUOT;或&QUOT; .NET&QUOT;)?自定义、大小写、符号、Lucene