c# - Logging Exceptions and Redirect to Specific Page -
i using handleerrorinfo()
handle errors. need update url when handleerrorinfo()
redirects error page.
www.mysite.com/error
instead of www.mysite.com/update
also need know how log exception.
web.config:
<customerrors mode="on" defaultredirect ="~/admin/error"></customerrors>
admin controller:
public actionresult error() { return view(); }
Comments
Post a Comment