What is the difference between web.config timeout and IIS timeout?

前端 未结 2 1222
佛祖请我去吃肉
佛祖请我去吃肉 2021-02-07 05:03

What is the difference between the following entry in web.config:

 

And this setting in IIS 7.5 (Default we

2条回答
  •  迷失自我
    2021-02-07 05:49

    The connection timeout is how long a connection from a browser to the server should take till it times out. So, when the browser requests a page/image/resource, how long should IIS wait till it terminates the connection. It is stated in seconds.

    It can also be set in the web.config (example is for 2 minutes, 120 seconds):

    
    

    The session timeout is how long the session can live. This is across multiple connections and is stated in minutes.

    They are two different settings that control different things.

提交回复
热议问题