June 5, 2001
Need access to the raw content as submitted by the Web client? Prior to ColdFusion 5 this was not possible. But using the new GetHTTPRequestData() function you can access a structure containing all that content, as well as HTTP headers, and the submission method and protocol used. (Applies to:...
June 4, 2001
If you are passing data from ColdFusion to a Java object (invoked using the tag or the CreateObject() function) then the new JavaCast() function will be of use to you. This function takes a variable and a type (boolean, int, long, double, or string) allowing you to explicitly cast values as needed....
June 3, 2001
ColdFusion 5 is the seventh major edition of ColdFusion, and it's the fastest version yet. Upgrade immediately - the performance gains alone are worth it. (Applies to: ColdFusion 5)
June 2, 2001
When creating ColdFusion variables remember these rules: use alphanumeric characters anywhere in a variable name except for the first character which must be a letter (not a digit), and don't use any special characters other than the underscore. (Applies to: ColdFusion All)
June 1, 2001
If you find yourself having to write large amounts of data to a text file using or then you should consider reducing the number of calls you make. File writes are slow operations (and should be locked to prevent concurrent writes to the same file, which could make them even slower). To improve...
May 31, 2001
supports FOR, WHILE, and DO WHILE loops - there is no loop to loop through query results. So how can you loop through queries in a block? Use the query.column[row] syntax, replacing query and column with the query and column names, and row with the desired row number. (Applies to: ColdFusion All)
May 30, 2001
ColdFusion has two built-in methods for server side file access - and . should be used for all local file system access (including access to files on accessible network drives). should be used to access files on remote servers (assuming FTP access is available on that server). ColdFusion cannot...
May 29, 2001
ColdFusion supports the creation and use of complex Custom Tags involving the use of base tags (or parent tags) and child tags (tags nested within base tags). Obviously, in this type of Custom Tag it is important that tags be called in the correct sequence (and that child tags not be called outside...
May 28, 2001
is used to trap error conditions, and are used to programmatically respond to error conditions. Is there ever a need for both at once? Actually, there is. is a special form of error template that is called before / handling is invoked. This allows you to implement centralized logging or debugging...
May 27, 2001
is usually used to provide an alternate error message screen, but that is not all it can do. As of ColdFusion 4.5, supports a new TYPE called EXCEPTION. Using this type you may specify error pages that have access to all CFML tags and functions, without having to use and . (Applies to: ColdFusion...