Handling Errors in a custom page

T

ThunderMusic

Hi,
I'd like to handle all some of my exception by a custom page. I put the
validations in the global.asax to redirect to the custom page, but everytime
an exception is raised, the Server.GetLastError() is == to null in the
page_load of my custom page... Even if I set the exception in the Session,
it's empty when it gets to my custom page. why is this? Is there anyway I
can get the last generated exception from my custom error page?

thanks

ThunderMusic
 

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

No members online now.

Forum statistics

Threads
474,432
Messages
2,571,680
Members
48,796
Latest member
Greg L.

Latest Threads

Top