Reputation: 18097
What is the difference between the following entry in web.config:
<httpRuntime ... executionTimeout="1300" ... />
And this setting in IIS 7.5 (Default web site > Advanced Settings > Connection Limits) :
It seems executionTimeout is not the same as IIS timeout. What is the difference?
Upvotes: 5
Views: 12978
Reputation: 9498
connectionTimeout
applies to the TCP connection between client and server, while executionTimeout
applies to an actual web request that is sent over that connection.
From here on connectionTimeout
:
Specifies the time (in seconds) that IIS waits before it disconnects a connection that is considered inactive.
From here on executionTimeout
:
Specifies the maximum number of seconds that a request is allowed to execute before being automatically shut down by ASP.NET.
Upvotes: 7