PDA

View Full Version : cferror tag



davidd
September 21st, 2009, 05:58 PM
Hostek does support the cferror tag on all ColdFusion servers. Below is some information about the cferror tag.

The cferror tag allows you to set a custom page to display when an error occurs. It is usually placed in your application.cfm or application.cfc file to set error handling for the entire site, but it can be used in individual pages as well. The tag also has an option that allows you to set an e-mail address at which you would like to be notified of any errors.

Below is an example of the tag:


<cferror type="Request" template="request_err.cfm" mailTo="[email protected]">

In the above example, the page "request_err.cfm" would be shown to the user when an error occurs and error details would be sent to "[email protected]".

For more details on using the cferror tag, see Adobe's documentation at the following URL:
http://livedocs.adobe.com/coldfusion/8/htmldocs/help.html?content=Tags_d-e_11.html