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

Posted on 2009-04-16
Last Modified: 2012-05-06
I have a problem with Tiemout in IIS, in web.config the session timeout has set to 60 but after 20 min the session ends. This problem only occurs in IIS7 and not in IIS5.
After investigation, the reason was the application pool timeout. After 20 min without doing nothing in IIS ends and session is timeout.
If the application is defaultAppPool this occurs but if i change this to Classic .NET AppPool the timeout not occur.
Both of modes have idle timeout but only in DefaultAppPool occur.
Why is this? What is the difference between be a Classic .NET AppPool and DefaultAppPool?
And what is the difference in the pipeline, between Classic and Integrated?
Question by:kmetola
    LVL 37

    Accepted Solution


    the definitive definition is here:

    essentially, in the old architecture, .NET managed code was executed through a plug-in (ISAPI) module.  Plug-in modules like that do not get loaded until after a lot of pre-processing work is done (like authentication and directory/file mapping etc) and so there are limitations to what you can do with .NET apps.  

    in IIS7, .Net apps can be processed inside the main server pipeline, and so now you can do those things like authentication and url rewite etc with managed code applications.


    Author Comment

    Sorry, my fault, bad testing. The application pool timeout works the same way in Classic .NET app pool and Default application pool.
    Anyway, the explanation about the difference is OK and I give you the points. Thank you.

    Featured Post

    Why You Should Analyze Threat Actor TTPs

    After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

    Join & Write a Comment

    A Change in PHP Behavior with Session Write Short Circuit ( (Winter 2014)** With the release of PHP 5.6 the session handler changed in a way that many think should be considered a bug.  See the note …
    When it comes to showing a 404 error page to your visitors, you do not want that generic page to show, and you especially do not want your hosting provider’s ad error page to show either. In this article, I will show you how to enable the custom 40…
    This video teaches users how to migrate an existing Wordpress website to a new domain.
    Use Wufoo, an online form creation tool, to make powerful forms. Learn how to selectively show certain fields based on user input using rules to gather relevant information and data from your forms. The rules feature provides you with an opportunity…

    728 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    18 Experts available now in Live!

    Get 1:1 Help Now