tags:

views:

21

answers:

1

Hi

What advantage does one technique have over the other:

  1. Use Application_Error to handle exceptions or errors.
  2. Use defaultredirect in the web.config file.

Thanks.

+1  A: 

There may be other advantages or disadvantages, but the first thought that comes to mind is using Application_Error you are able to trap and log the error.

Nate Pinchot
Thanks. If we have our custom logging it would be useful.
IceFossil