whats happenig inside the global.asax

  • Thread starter Thread starter Jacob
  • Start date Start date
J

Jacob

It says Application_EndRequest not Application_End

There's quite a difference.
 
hi all,
i have writen the following code in global.asax events and i have
kept break points on following events to trace.
protected void Session_Start(Object sender, EventArgs e)
{

Response.Write("Session_Start");

Response.Write("\n");

}

protected void Application_BeginRequest(Object sender, EventArgs e)

{

Response.Write("Application_BeginRequest");

Response.Write("\n");

}

protected void Application_EndRequest(Object sender, EventArgs e)

{

Response.Write("Application_EndRequest");

Response.Write("\n");

}

protected void Application_AuthenticateRequest(Object sender, EventArgs e)

{

Response.Write("Application_AuthenticateRequest");

Response.Write("\n");

}

protected void Application_Error(Object sender, EventArgs e)

{

Response.Write("Application_Error");

Response.Write("\n");

}

protected void Session_End(Object sender, EventArgs e)

{

Response.Write("Session_End");

Response.Write("\n");

}

protected void Application_End(Object sender, EventArgs e)

{

Response.Write("Application_End");

Response.Write("\n");

}

The out put is priented on the page After the "Application_End "event is
fired why?

the output is:

Application_BeginRequest Application_AuthenticateRequest Session_Start

Application_EndRequest
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top