February 24, 2002
The tag forms the basis of ColdFusion exception handling, passing control to tags when error conditions occur. Every must have at least one in it, or ColdFusion will throw an error. (Applies to: ColdFusion 4 or later)
February 23, 2002
Using try / catch handling (with and ) within your application? That same code can also be used to handle application specific exceptions - exceptions that you can create yourself. To throw your own exceptions, use the tag and catch TYPE="application". (Applies to: ColdFusion 5)
February 22, 2002
In addition to the standard exception handling supported by the types, ColdFusion also supports over 50 advanced types. Use these to catch and handle very specific exceptions (for example, login failure). (Applies to: ColdFusion 5)
February 21, 2002
ColdFusion queries are usually created by tags like , , and . But queries can also be created (and added to) programmatically using the query functions, and columns may be added to a query using the QueryAddColumn() function. In addition, to populate query columns an optional array may be passed to...
February 20, 2002
IsArray() is usually used to test if a variable is an array, but that is not all it can do. IsArray() can take a number as its second optional parameter – the number of elements to check for. Using this parameter, IsArray() will check that the variable is an array that contains the specified...
February 19, 2002
takes an expression to be evaluated, along with one or more tags with values to be matched. expressions may be dynamic (optionally including variables, functions, and other expressions). values, however, must be actual values and not variable expressions. (Applies to: ColdFusion All)
February 18, 2002
Need to programmatically move files between the ColdFusion server and other servers? You have three ways to do this - 1) use , assuming you have network access to the remote server, 2) use if the remote server is running an FTP server, or 3) use (using to upload the file). (Applies to: ColdFusion...
February 17, 2002
Dates returned by (in the query.date column) cannot be used with ColdFusion date functions as is, they need to be converted into valid date time objects. To do this, use the ParseDateTime() function, and set the second (optional) parameter to "POP". (Applies to: ColdFusion 3 or later)
February 16, 2002
provides two e-mail retrieval options - ACTION="getall" retrieves all messages (and possibly attachments), ACTION="getheaderonly" retrieves just mail headers (to, from, subject, etc., but no body or attachments). The latter of the two executes quicker, so if all you need is message headers (perhaps...
February 15, 2002
ColdFusion debug output is appended to generated pages. Need to suppress debug output temporarily? You can do this without make any CF Administrator changes - simply use the tag to set SHOWDEBUGOUTPUT="no". (Applies to: ColdFusion 4 or later)