Beginrequest
Request started. If you need to do something at the beginning of the request (for example, show banner ads at the top of each page or some kind of initialization variable).
AuthenticateRequest
If you want to connect your own authentication scheme (for example, find the user in the database to verify the password or verify the header information in the HTTP request).
AuthorizeRequest
This event is used internally to implement authorization mechanisms (for example, to store access control lists (ACLs) in the database, and not in the file system).
ResolveRequestCache
This event determines whether the page can be served from the output cache. If you want to write your own caching module (for example, create a cache file, not a memory cache), then synchronize this event to determine whether to serve the page from the cache or whether a new page will be created.
AcquireRequestState
Session state is retrieved from the state store. If you want to create your own state management module, then synchronize this event to capture session state from your state store.
PreRequestHandlerExecute
This event occurs before the HTTP handler executes.
PostRequestHandlerExecute
This event occurs after the HTTP handler is executed.
ReleaseRequestState
Session state is stored in the state store. If you are creating a custom session state module, you must save your state in your repository.
UpdateRequestCache
This event writes output to the output cache.
Endrequest
Request completed.
akazemis Jul 19 '16 at 4:34 2016-07-19 04:34
source share