Request Variable; Definition Of Pi; Null Values; The Thistag Scope - MACROMEDIA COLFUSION MX 7-MIGRATING APPLICATIONS TO COLDFUSION MX 7 Manual

Migrating applications to coldfusion mx 7
Table of Contents

Advertisement

So in ColdFusion MX, if the date is within 80 years before and 20 years after the date when it
processes the date, then ColdFusion MX returns the date with the current century. Otherwise, it
returns the previous century. In ColdFusion 5, if the date is within 71 years before and 29 years
after the date when it processes the date, then ColdFusion 5 returns the current century.
Otherwise, it returns the previous century. This can cause incompatible results. For example,
LSParseDateTime("25-12-13 22:10:15")
2025 in ColdFusion 5.
Note: Results might differ, depending on your Java Runtime Environment (JRE). This information
reflects tests on the SUN JRE version 1.4 and the IBM JRE version 1.3.0.
For more information, see the version-specific Java documentation for the
java.text.SimpleDateFormat

Request variable

ColdFusion MX no longer supports the
expecting the
RequestTimeout
<cfsetting RequestTimeout = "#URL.RequestTimeout#">
For more information, see the "Reserved Words and Variables" chapter in CFML Reference.

Definition of pi

ColdFusion MX and ColdFusion 5 define pi with slightly different precision. Therefore, you
might obtain slightly different results between the two for trigonometric functions such as sin,
cos, and tan at the boundaries (0, 90, 180, 270, ... degrees).

Null values

ColdFusion 5 converted all null values to an empty string (""). For queries, ColdFusion MX
preserves null values, but converts them to an empty string when you use them as simple values.
However, when you call a Java method that returns a null value, ColdFusion MX destroys the
variable to which the null value was returned.

The thisTag scope

In ColdFusion 5, you can change system values in the thisTag scope that persist throughout the
execution of the tag. This is fixed in ColdFusion MX; it throws an exception if you try to set
thisTag.hasendtag

Caching

In ColdFusion MX, in the Caching page of the ColdFusion MX Administrator, the Template
cache size (number of templates) option displays the number of templates in the cache. In
ColdFusion 5, it displays the size of the cached templates in kilobytes.
class, at http://java.sun.com/j2se/.
RequestTimeout
attribute in the URL, add the following tag:
or
thisTag.executionmode
returns a year of 1925 in ColdFusion MX, and
attribute in the URL. For pages
.
Other changes
19

Advertisement

Table of Contents
loading

This manual is also suitable for:

Colfusion mx 7 - installing and using coldfusion mx

Table of Contents