Specifications
CFML tags and attributes 7
CFML tags and attributes
The following table describes the tags and attributes in ColdFusion MX that differ from
ColdFusion Server 5:
Tag Status Compatibility issue
For more
information
cfapplet
Changed Can now be used outside the context of cfform.See cfapplet in
CFML Reference
.
cfapplication
Changed Setting clientstorage = "registry" is obsolete in
UNIX versions of ColdFusion MX.
See cfapplication
in
CFML Reference
.
cfauthenticate,
cfimpersonate
cfinternaladmin
security
cfnewinternal
adminsecurity
Obsolete ColdFusion MX is based on a completely different
security model than ColdFusion 5.
See the chapter on
application Security
in
Developing
ColdFusion MX
Applications with
CFML
.
cfcache
Changed The timeout attribute is deprecated in ColdFusion MX; it
will be obsolete in later versions. Use timespan instead.
The new timespan attribute specifies a decimal number
of days between when the page containing the cfcache
tag is first cached, and when the cache contents are
automatically flushed.
See cfcache in
CFML Reference
.
action="cache" now caches on both the server and
client, and the cache and optimal values are equivalent.
A new action value, serverCache, caches pages on
the server only. It is identical in function to the cache
value in ColdFusion 5.
The directory and cacheDirectory attributes are
now equivalent. You can use either attribute with any
action. (In ColdFusion 5, you can only use directory
with action="flush", and you use cacheDirectory
with all other action values.)
The port and protocol values now default to the values
used to initially access the page. In earlier releases, the
port default was “80”, and the protocol default was
http.
action="flush" now correctly expires a cached page
in the server, the client, or both locations.
The cfcache.map file now contains the template name
and source timestamp.