Restart webapp by modifying web. config

Source: Internet
Author: User
(At first I thought about Restarting IIS to restart webapp. The method is actually a bit better)

Every modification to the Web. config file will restart the running webapplication to apply the new settings.
Even if you load the webconfig file and save it, it will restart.

In win2003, IIS regularly clears apps that are not used for a long time, so the app variables are cleared.
Is it a restart? Not tested yet.

The Config under win is not like this. Even if you modify it, it will not be applied immediately, but it will only be applied after you restart the exe.

Source: http://blog.aspcool.com/dlwang2002/archive/2005/08/05/2616.html

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.