Costa
Costa

Reputation: 4095

Why they created a timeout

if u add this to web.config, then if a page have gone through long process, the client will not have a timeout exception.

<httpRuntime maxRequestLength="1024000" executionTimeout="36000"/>

they are timing out things for a purpose, what is it?, I tried to create a website with two pages I make a button in default1.aspx wait for 5 minutes. the other page requesting is not affected by that.

thanks

Upvotes: 0

Views: 79

Answers (3)

Pharabus
Pharabus

Reputation: 6062

not 100% sure I follow you but the purpose of a timeout is to ensure a client does not wait indefinitely for a response that may not come, it is part and parcel of working in a stateless environment.

Upvotes: 3

Keith Adler
Keith Adler

Reputation: 21178

Request timeouts server-side are one thing, however IE and other browsers also have request timeouts. If you're performing something costly server-side use a status area instead of Request-Response to deal with processing.

Upvotes: 0

Frank V
Frank V

Reputation: 25429

So clients can't tie precious server resources...

Upvotes: 0

Related Questions