HttpApplication Events

 NameDescription
Public eventAcquireRequestStateOccurs when ASP.NET acquires the current state (for example, session state) that is associated with the current request.
Public eventAuthenticateRequestOccurs when a security module has established the identity of the user.
Public eventAuthorizeRequestOccurs when a security module has verified user authorization.
Public eventBeginRequestOccurs as the first event in the HTTP pipeline chain of execution when ASP.NET responds to a request.
Public eventDisposedOccurs when the application is disposed.
Public eventEndRequestOccurs as the last event in the HTTP pipeline chain of execution when ASP.NET responds to a request.
Public eventErrorOccurs when an unhandled exception is thrown.
Public eventLogRequestOccurs just before ASP.NET performs any logging for the current request.
Public eventMapRequestHandlerInfrastructure. Occurs when the handler is selected to respond to the request.
Public eventPostAcquireRequestStateOccurs when the request state (for example, session state) that is associated with the current request has been obtained.
Public eventPostAuthenticateRequestOccurs when a security module has established the identity of the user.
Public eventPostAuthorizeRequestOccurs when the user for the current request has been authorized.
Public eventPostLogRequestOccurs when ASP.NET has completed processing all the event handlers for the LogRequest event.
Public eventPostMapRequestHandlerOccurs when ASP.NET has mapped the current request to the appropriate event handler.
Public eventPostReleaseRequestStateOccurs when ASP.NET has completed executing all request event handlers and the request state data has been stored.
Public eventPostRequestHandlerExecuteOccurs when the ASP.NET event handler (for example, a page or an XML Web service) finishes execution.
Public eventPostResolveRequestCacheOccurs when ASP.NET bypasses execution of the current event handler and allows a caching module to serve a request from the cache.
Public eventPostUpdateRequestCacheOccurs when ASP.NET finishes updating caching modules and storing responses that are used to serve subsequent requests from the cache.
Public eventPreRequestHandlerExecuteOccurs just before ASP.NET starts executing an event handler (for example, a page or an XML Web service).
Public eventPreSendRequestContentOccurs just before ASP.NET sends content to the client.
Public eventPreSendRequestHeadersOccurs just before ASP.NET sends HTTP headers to the client.
Public eventReleaseRequestStateOccurs after ASP.NET finishes executing all request event handlers. This event causes state modules to save the current state data.
Public eventResolveRequestCacheOccurs when ASP.NET finishes an authorization event to let the caching modules serve requests from the cache, bypassing execution of the event handler (for example, a page or an XML Web service).
Public eventUpdateRequestCacheOccurs when ASP.NET finishes executing an event handler in order to let caching modules store responses that will be used to serve subsequent requests from the cache.

http://msdn.microsoft.com/en-us/library/0dbhtdck(v=vs.100).aspx

转载于:https://www.cnblogs.com/shineqiujuan/archive/2013/06/04/3116999.html

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值