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

Popular posts from this blog

Listboxes in c# -

Excel Duty List -

Multilayer CSV to filtered excel -