문제

in global.asax , how these events

   Application_Start
   Application_End
   Session_Start
   Session_End
   Application_BeginRequest
   Application_AuthenticateRequest
   Application_Error

hooked up to the corresponding eventhandler in System.Web.HttpApplication class

thanks !

Edit: maybe this is what i want link

도움이 되었습니까?

해결책

When ASP.NET starts up your application, it creates an instance of your application's HttpApplication implementation, which is represented by Global.asax. It then uses reflection to look for methods named appropriately with the correct parameters, that match each of the events. Those it finds, it attaches as event handlers automatically for you.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top