Skip to content
jameskilford edited this page Aug 19, 2013 · 2 revisions

Table of Contents

General Deviations

These are general deviations that purposely deviate from the CFML Standard.

Custom Tag search path

By default Railo does not search the sub directories of the custom tag paths for a certain custom tag; you can enable that CFML-standard behavior in the Railo web or server administrator.

CFC Search Path

Railo does not search for CFC's inside the Custom Tag directory by default, but you can define directories in Railo Administrator which it should scan for components, so searching the custom tag directories is possible.

Trusted Cache

If the trusted cache is enabled Railo will not look for any new sourcecode data in the file system. Railo will always execute the last compiled version of a file. As opposed to the CFML standard, where the trusted cache can only be activated for the complete server, Railo also offers the trusted cache per single mapping. This is especially useful for applications that use a framework in which the sourcecode does not change, although the application still generates dynamic code. This is a most welcome advantage for several CMS systems.

It is also possible to set custom tag directories and component directories to be trusted. The trusted cache rules apply to them accordingly.

Railo Archive

Railo cannot read files that were encrypted by other CFML Engines. In order to nevertheless protect the own Codes Railo Archive (.ra) can be used. These make it possible to deploy codes ready compiled and in the case of RAS without the initial Source-Code. The only disadvantage of this method is in this case (.ras) errors which showed up during exploration no longer include source information.

SOAP WebServices

Railo 4 uses Apache Axis http://axis.apache.org/axis/ to consume and generate webservices. Adobe CF uses Axis1 up to version 9, and starting with version 10 it uses both Axis1 and Axis2 http://axis.apache.org/axis2/java/core/. Therefore consuming SOAP webservices that rely on features supported only by Axis2 will not work.

Cookies

In CF, you can use cookies with complex names and dot notation, for example:

    <cfcookie name="person.name" value="wilson, john"> 
    <cfset cookie.person.lastname="Santiago">
    <cfoutput>#cookie.person.name#</cfoutput>

This is a long standing difference between Railo and ColdFusion and how Railo is able to keep up the speed in responses.

You will have to change your code in this case because COOKIES.person.name is three levels in a structure in Railo.

You could change your way of setting it though:

    <cfset cookie['person.name'] = "Santiago">
Clone this wiki locally