Preventing the request timeout

P

Pavils Jurjans

Hello,

It is possible to set a high value in the web.config file, to prevent
request timeout for a very complex pages that take long time to generate:

<system.web>
<httpRuntime executionTimeout="300"/>

But, I do not like to keep such a high value as a default. I better keep
there a low value, and in case I need to generate complex report, I'd change
it to a higher value, just for this very request. Is there any way to set
that value at runtime?

Thanks,

Pavils
 
G

George Ter-Saakov

Unfortunately there is no way to change it per request.
There is Server.ScriptTimeout but it only works in development (when
compiled in DEBUG mode).


George
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,773
Messages
2,569,594
Members
45,122
Latest member
VinayKumarNevatia_
Top