July 14, 2002
tags may have explicit timeout values specified in the TIMEOUT attribute. ColdFusion 5 (and earlier) accepted a timeout value in milliseconds, ColdFusion MX uses seconds. As such, if you are using this attribute you must change your code (or your timeout will be a thousands times longer than...
July 13, 2002
The date/time object in CF5 (and earlier) was accurate to seconds only - milliseconds were dropped. This has been changed in CFMX - milliseconds are now retained. To drop the milliseconds (to mimic former functionality) use the DateFormat() function. (Applies to: ColdFusion MX)
July 12, 2002
ColdFusion User Defined Functions may be named using any valid variable name, with one notable exception. User Defined Functions (created using or ) may not have a name that starts with the letters "cf" as these names are reserved. (Applies to: ColdFusion 5 or later)
July 11, 2002
You already know that ColdFusion Components (CFC's) can help you create scalable, structured, and highly reusable code. But did you know that CFC's can also help you create faster code? Not only are CFC's consistently faster than Custom Tags, they are often even faster than files included using ....
July 10, 2002
Generated debug output may include optional stack trace information along with relevant execution times. The default stack depth is 5, this number may be raised or lowered as needed. Set to 0 to show all (no limit). (Applies to: ColdFusion MX)
July 9, 2002
CLIENT variables may be stored in a database of your choice, ideal for sharing state in a clustered environment. Data is stored in two tables named CDATA and CGLOBAL which will be created automatically if using JDBC drivers. If you use an ODBC driver you'll need to create these tables manually....
July 8, 2002
The IsDefined() function checks to see if a specified variable or object exists. But what if you wanted to then check to see if it was of a specific type or an instance of a specific component? You could use one of the many Is functions, but there is a better way. IsObject() takes the name of an...
July 7, 2002
RandRange() returns a random integer in between a specified range. The low value must be 1 or greater, and the high value must be no greater than 100,000,000 (one hundred million). (Applies to: ColdFusion MX)
July 6, 2002
GetProfileString() allows you to read INI file settings (and the matching SetProfileString() function writes those settings). Now using INI files is even easier - the new GetProfileSections() function reads an INI file and returns a structure containing all of the sections and the entries in each....
July 5, 2002
URLEncodedFormat() makes strings URL safe, and URLDecode() unencodes those strings. To better support multi-lingual and localized applications, both of these functions now take an optional character set name as a second parameter. (Applies to: ColdFusion MX)