December 17, 2001
ColdFusion makes all sorts of information available to you in CGI variables. It is worth dump the contents of the entire CGI scope (perhaps using , if you are using CF5) to see what information you can find there. (Applies to: ColdFusion All)
December 16, 2001
Using CLIENT Variables with database storage? You'll need to purge aged variables sporadically, and ColdFusion can do this for you (it is an Administrator option). But, from a performance perspective you'll be much better off using a scheduled database event to do this instead. (Applies to:...
December 15, 2001
Query execution time can be accessed via CFQUERY.ExecutionTime. But only queries created with have this property, queries created using other tags or functions ( or , for example) do not have this property. (Applies to: ColdFusion All)
December 14, 2001
Like many CFML tags, returns a series of variables indicating the status of executed operations. But unlike many others, also provides a simple success or failure flag. After a call check CFFTP.SUCCEEDED and you'll know right away whether your operation was successful or not. (Applies to:...
December 13, 2001
Writing ? Unlike CFML (in which statements have matching tags), if statements have no required end designator. By default, if statements apply to the code that follows them only. To make an entire block of code conditional, that code must be enclosed within curly braces. Omit these and only one...
December 12, 2001
UDF's (User Defined Functions) return values using the "return" keyword which is the logical ending of any function (any code after a "return" cannot be reached and won't ever be executed). Multiple returns are allowed but good programming practices (not to mention simplified debugging) dictate...
December 11, 2001
You can't use CFML tags within UDF's (User Defined Functions). But you can still perform like file operations, like data retrieval, and even CFX type add-on calls. How? Using COM or Java via the CreateObject() function (the function equivalent of ) within your UDF code. (Applies to: ColdFusion 5)
December 10, 2001
ColdFusion 5 UDF's (User Defined Functions) fully support recursion (functions calling themselves). Each called function is its own call - any variables defined in a prior call will not be visible, and changes to a variable will not effect earlier calls. To explicitly share data between calls place...
December 9, 2001
ColdFusion can be extended using Java (Servlets, Java CFX's, calls to Java classes, and straight Java API calls via the CreateObject() function). In order to use ColdFusion with Java, ColdFusion must know where to find the Java Virtual Machine (JVM). This must be specified in the ColdFusion...
December 8, 2001
Want a quick (and powerful) set of search screens to work with your Verity collection? Look no further than ColdFusion Studio and its Verity Wizard. To access this Wizard select File, New, click on the CFML tab, and double click on Verity Wizard. (Applies to: ColdFusion Studio 4.x and 5)