L
Lau Lei Cheong
Hello,
I'm currently using Application_Error method in Global.asax.cs to handle
errors.
Recently, I heard about Page.ErrorPage and plan to use it for handling
errors on certain pages. Are there any major difference in using these
methods? My concern is mainly on the restrictions imposed on using these
method.
In my old error handling routine, I tried to use Server.GetLatError() to
get Exception object in the error page redirected by Response.Redirect() but
failed, can I use this method to retrieve the exception object in the new
page if Page.ErrorPage is used instead?
Thanks a lot.
Regards,
Lau Lei Cheong
I'm currently using Application_Error method in Global.asax.cs to handle
errors.
Recently, I heard about Page.ErrorPage and plan to use it for handling
errors on certain pages. Are there any major difference in using these
methods? My concern is mainly on the restrictions imposed on using these
method.
In my old error handling routine, I tried to use Server.GetLatError() to
get Exception object in the error page redirected by Response.Redirect() but
failed, can I use this method to retrieve the exception object in the new
page if Page.ErrorPage is used instead?
Thanks a lot.
Regards,
Lau Lei Cheong