Here is the content of one of my cferror templates. It�s an old one, hence
the evaluet()

I think what you�re looking for is the ERROR.ExtendedInfo

Take a look at the entire �ERROR� structure when an error occurs. Im sure
everything you�ll want to know is in there



<font face="Verdana,Geneva,Arial,Helvetica,sans-serif" size="2">

<hr>

Error Generated: #dateformat(now(),"mm/dd/yyyy")#
#timeformat(now(),"hh:mm:ss tt")#

<hr>

<cfif isdefined("client.message")>

            #client.message#

            <cfset deleteclientvariable("message")>

<hr>

</cfif>               

<cfif isdefined("error.EXTENDEDINFO")>Extended Info:
#error.EXTENDEDINFO#<cfelse>No Extended Information</cfif>

<br>

<cfif isdefined("error.Diagnostics")>Diagnostics:
#Error.Diagnostics#<br><cfelse>No Diagnostics<br></cfif>

<br><br>

<cfif isdefined("Error.Template")>Template: #Error.Template#<cfelse>No
Template</cfif><br>

<cfif isdefined("form.fieldnames")>

Form Fields:  #form.fieldnames#<br>

<cfloop list="#form.fieldnames#" index="field">

<cfif NOT FindNoCase("CC_", field)>

  #field# = #evaluate("form.#field#")#<br>

</cfif>

</cfloop>

</cfif>

<hr>

<cfif isdefined("client.urltoken")>URLTOKEN: #client.urltoken#<br></cfif>

<cfif isdefined("cgi.path_info")>PATH_INFO: #cgi.path_info#<br></cfif>

<cfif isdefined("cgi.query_string")>QUERY_STRING:
#cgi.query_string#<br></cfif>

<cfif isdefined("cgi.HTTP_USER_AGENT")>HTTP_USER_AGENT:
#cgi.HTTP_USER_AGENT#<br></cfif>

<cfif isdefined("cgi.REMOTE_ADDR")>REMOTE_ADDR: #cgi.REMOTE_ADDR#<br></cfif>

<cfif isdefined("cgi.HTTP_REFERER")>HTTP_REFERER:
#cgi.HTTP_REFERER#<br></cfif>

<cfif isdefined("cgi.CF_TEMPLATE_PATH")>TEMPLATE:
#cgi.CF_TEMPLATE_PATH#<br></cfif>

<hr>

<cfif isdefined("Error.GeneratedContent")>Generated
Content:<br>#Error.GeneratedContent#<cfelse>No generated content</cfif>

<hr>

</font>

---
Incoming mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.767 / Virus Database: 514 - Release Date: 9/21/2004

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.767 / Virus Database: 514 - Release Date: 9/21/2004
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]

Reply via email to