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

mysql - Dreamhost PyCharm Django Python 3 Launching a Site -

java - Sending SMS with SMSLib and Web Services -

java - How to resolve The method toString() in the type Object is not applicable for the arguments (InputStream) -