Results for tag response.redirect
  • How to handle custom 404 pages programmatically
    Lukáš Gancarčík    —       —    Knowledge Base Article

    Kentico provides the possibility to configure the system to display custom pages instead of standard error messages. Custom pages are convenient for site visitors because they can improve the security of the site by hiding potentially sensitive internal data (such as code in stack traces).

    The <customErrors> element under the <system.web> section of the web.config file handles this functionality. However, what if you need to handle custom 404 pages within the code?

  • response.redirect and user controls
    Neil Fennessey    —       —    Question

    We have used response.redirects extensively throughout our custom application which is built in user controls housed within Kentico. I'm thinking that we could remove the hard-coded page names in ...