1. 程式人生 > >ASP.NET中 Application_Start 和 Application_End 的觸發時機

ASP.NET中 Application_Start 和 Application_End 的觸發時機

Application_Start fires when the first user hits your Web site.

Application_End fires when the last user in the site's session times out.

The Application object exists in the server's memory until the webserver(not website) stops or until you modify or refresh the global.asax file. You may right click the machine name in the MMC, and select "Restart 
IIS" to make the webserver restart.