What is the difference between DefaultAppPool and Classic .NET AppPool in IIS7?

前端 未结 4 380
没有蜡笔的小新
没有蜡笔的小新 2021-01-30 09:05

I have a problem with timeouts in IIS. In the web.config the session timeout was set to 60 minutes but after 20 minutes the session ends.

This problem only occurs in II

4条回答
  •  梦毁少年i
    2021-01-30 09:21

    The classic pool processes the requests in the app pool by using seperate processing pipelinesfor IIS and ISAPI. integrated uses an integrated pipeline, IIS and ASP.NET a(better performance) takes advantage of the improved features of IIS 7.0 using only the one process. Good practise is to create a new application pool for each application, then configure sepeerately according to application requirements.


    Classic mode follows the steps below :

    1.The incoming HTTP request is received through the IIS core.

    2.The request is processed through ISAPI.

    3.The request is processed through ASP.NET.

    4.The request passes back through ISAPI.

    5.The request passes back through the IIS core where the HTTP response finally is delivered


    Integrated mode uses:

    1.The incoming HTTP request is received through the IIS core and ASP.NET.

    2.The appropriate handler executes the request and delivers the HTTP response

    Increase the session timeout in web.config as per

    remember increasing this causes the application to consume more resource, eg memory

提交回复
热议问题