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?
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?