CFERROR Error Page Variables  
 
 

The error page specified in the TEMPLATE attribute of the CFERROR tag may contain one or more error variables, which will be substituted by ColdFusion when an error is displayed. Beyond the specification of these variables, no other ColdFusion tags, such as CFIF, CFSET, and so on, may be used in the error page.

 
 
  Error pages where TYPE="Request"  
 

Error variables available when CFERROR uses TYPE="Request" are as follows:

Custom Error Pages where TYPE="Request" 
Error Variable Description
Error.Diagnostics Detailed error diagnostics from ColdFusion Server.
Error.MailTo Email address of administrator who should be notified (corresponds to the value set in the MAILTO attribute of CFERROR).
Error.DateTime Date and time when the error occurred.
Error.Browser Browser that was running when the error occurred.
Error.RemoteAddress IP address of the remote client.
Error.HTTPReferer Page from which the client accessed the link to the page where the error occurred.
Error.Template Page being executed when the error occurred.
Error.QueryString URL query string of the client's request.

 
 
  Error pages where TYPE="Validation"  
 

Error variables available when CFERROR uses TYPE="Validation" are as follows:

Custom Error Pages where TYPE="Validation"
Error Variable Description
Error.ValidationHeader Text for header of validation message.
Error.InvalidFields Unordered list of validation errors that occurred.
Error.ValidationFooter Text for footer of validation message.





 
 
BackUp LevelNext
 
 

allaire     AllaireDoc@allaire.com
    Copyright © 1998, Allaire Corporation. All rights reserved.