The Global.ASAX File
page 2 of 4
by . .
Feedback
Average Rating: This article has not yet been rated.
Views (Total / Last 10 Days): 28368/ 47

Exposed Events

Exposed Events

The HTTPApplication class exposes the following events for you to handle.

  • AcquireRequestState
  • AuthenticateRequest
  • AuthorizeRequest
  • BeginRequest
  • EndRequest
  • Error
  • PostRequestHandlerExecute
  • PreRequestHandlerExecute
  • PreSendRequestContent
  • PreSendRequestHeaders
  • ReleaseRequestState
  • ResolveRequestCache
  • UpdateRequestCache

And that's just the HTTPApplication class! You can see that there are loads of events there for you to choose from (and some that you will never use).

Remember that it will automatically search for an event handler like -

Application_EventName(sender as object, e as EventArgs)

And you also still have Session_OnStart and Session_OnEnd, you also can still use <object runat="server" ...> tags like in ASP.


View Entire Article

User Comments

No comments posted yet.

Product Spotlight
Product Spotlight 





Community Advice: ASP | SQL | XML | Regular Expressions | Windows


©Copyright 1998-2024 ASPAlliance.com  |  Page Processed at 2024-05-10 10:43:58 PM  AspAlliance Recent Articles RSS Feed
About ASPAlliance | Newsgroups | Advertise | Authors | Email Lists | Feedback | Link To Us | Privacy | Search