Cfquery And Cfstoredproc Variables; Cfregistry Variables; Cfsearch Variables; Cfservlet Variables - MACROMEDIA COLDFUSION 5-CFML Quick Reference

Cfml quick reference
Hide thumbs Also See for COLDFUSION 5-CFML:
Table of Contents

Advertisement

CFQUERY and CFSTOREDPROC variables

In addition to returning data from a ColdFusion data source,
the CFQUERY tag returns information about the query:
CFQUERY.ExecutionTime
CFQUERY also uses the name of the query to scope data
about the query:
queryname.CurrentRow
queryname.RecordCount
queryname.ColumnList
The CFSTOREDPROC tag also returns:
CFSTOREDPROC.ExecutionTime
CFSTOREDPROC.StatusCode

CFREGISTRY variables

The CFREGISTRY tag returns a query record set that you can
reference after executing the GetAll action. Queryname is
the value of the NAME attribute used in the CFREGISTRY
operation.
queryname.Entry
queryname.Type
queryname.Value

CFSEARCH variables

Every CFSEARCH operation returns the following variables.
Searchname is the value of the NAME attribute used in the
CFSEARCH operation.
searchname.URL
searchname.Key
searchname.Title
searchname.Score
searchname.Custom1 and Custom2
searchname.Summary
searchname.RecordCount
searchname.CurrentRow
searchname.RecordsSearched
searchname.ColumnList

CFSERVLET variables

If the WRITEOUTPUT attribute is NO, CFSERVLET returns the
text output of the servlet in the following variable:
CFSERVLET.Output
If the servlet returns any response headers, they are in the
CFSERVLET return structure. Each response header can be
accessed through a key. In the following syntax, servletRe-
sponseHeader is a key, which is the name of the response
header set in the servlet:
CFSERVLET.servletResponseHeader
26
CFML Quick Reference

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the COLDFUSION 5-CFML and is the answer not in the manual?

This manual is also suitable for:

Coldfusion 5

Table of Contents