Sign in Join
FPDoc Onlineexperiment

TWebHandler.RedirectOnError property

Member of TWebHandlerpublicIn unit CustWeb

Controls whether errors trigger HTTP redirects

Declaration

pascal
property RedirectOnError: Boolean read FRedirectOnError write FRedirectOnError;

Description

When True, exceptions during request processing cause an HTTP redirect to the URL specified in RedirectOnErrorURL. When False, errors are displayed as HTML error pages.

See also

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.