Ben Forta

Blog

July 20, 2002

Non-Form Applets

The tag is used to embed a Java applets in your Web page. This tag has always been usable only within tags, but ColdFusion MX now allows the tag to be used anywhere - not just in forms. (Applies to: ColdFusion MX)

July 19, 2002

Returning UDF Results

User-defined functions (UDF’s) may return a single result via the tag (or the return statement if using ). To return multiple results place them in a structure as name=value pairs and then return the structure. (Applies to: ColdFusion MX)

July 18, 2002

Accessing UDF Arguments

Within a user-defined function (UDF) arguments may be accessed in two different ways – by simply specifying the argument name (either with or without the ARGUMENTS prefix), or as elements of an array named "arguments" (the first element would be argument[1]). (Applies to: ColdFusion MX)

July 17, 2002

Two Digit Years in CFMX

As a rule, don't use two digit years - full four digit years are much safer. But if you do use two digit years, be aware that ColdFusion MX has changed the way they are processed. In CF5 and earlier years 0-29 are previous century and 30-99 are current century. In CFMX years 0-20 are previous...

July 16, 2002

RegEx and Hexadecimal Numbers

To specify hexadecimal numbers for use within a regular expression format the number as xdd where dd is the number. Octal numbers may be specified the same way using ddd. (Applies to: ColdFusion MX)

July 15, 2002

Default Encoding Change

ColdFusion MX uses UTF-8 as its default character encoding as this encoding can handle both ASCII and Unicode correctly. CF5 (and earlier) used ISO-8859-1 encoding, and this change could affect the way some upper ASCII characters are displayed. If you run into this problem you can force CF to use...

July 14, 2002

Query Timeout Values

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

Times and Milliseconds

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

UDF's May Not Be Named CF*

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

CFC's Are Fast, Very Fast

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 ....

Page 422 of 489 (4885 posts)