Custom error page and errors in global.asax

O

Ola Johansson

I got a strange problem. I have specified a custom error page in my
Web.Config file and it works great if i get an exception anywhere on my
site.

The problem i got is that i do some checks in the "Session_Start" method
in global.asax. And when i get an exception there my custom error page
wont show up. Its not a major problem but its kinda strange.

Anyone know how to solve it or just explain why it is this way?
 

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,755
Messages
2,569,536
Members
45,012
Latest member
RoxanneDzm

Latest Threads

Top