HttpModule not firing when Session/Application ends

G

Guest

Hi,

I am having trouble with a HttpModule which is registered to handle the HttpApplication.Error event. All works well until I throw an error from within the Session_End or Application_End event handlers in the global.asax.cs file - the HttpModule event handler I attached to the Application.Error does not run under these circumstances! Can anyone explain why?

Thanks in advance,

Will
 
N

nfedin

I know that the Session_OnEnd event didn't always fire in classic ASP.
Maybe Microsoft never resolved this issue. Sorry...

Neil
 
G

Guest

I have tested both Session_End and Application_End to see if this is the case, but they both execute just fine. The problem is that if you throw an error in them, the Application.Error event does not fire.

Thanks anyway.

Will
 

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

Members online

Forum statistics

Threads
473,769
Messages
2,569,579
Members
45,053
Latest member
BrodieSola

Latest Threads

Top