Custom error page and errors in global.asax

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Ola Johansson

    Custom error page and errors in global.asax

    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_St art" 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?

    *** Sent via Developersdex http://www.developersdex.com ***
    Don't just participate in USENET...get rewarded for it!
Working...