Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

To Increase Request Timeout only on particular Web Page

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.

like image 386
John Hadikusumo Avatar asked Feb 28 '13 04:02

John Hadikusumo


People also ask

How do I increase my response timeout?

Run the command show http_proxy to verify the current response timeout value. Run the command set http_proxy response_timeout 180 to change the response timeout value to 3 minutes.


1 Answers

Use Web.config:

<location path="Page.aspx">
    <system.web>
        <httpRuntime executionTimeout="180"/>
    </system.web>
</location>
like image 85
abatishchev Avatar answered Sep 17 '22 16:09

abatishchev