Can we override executionTimeout set by client application in it's httprequest in ASP.Net?

39 views Asked by At

I have a single Asp.net web application with just one Aspx page and no user interface, as well as a Salesforce application. This web application serves only as a web service for us. We are using HttpRequest with a 2-minute timeout to call this asp.net endpoint from Salesforce. This http request times out and fails if it takes longer than two minutes. I know that we can set executionTimeout in httpruntime in web.config but it will apply for all the requests. I want to set executionTimeout runtime based on certain information received from http request. Like if incoming http request is big then increase timeout and otherwise don't change it. I search on google but don't found any solution. So, I want to know whether it is possible or not and if possible then how to implement it.

0

There are 0 answers