Railo allows you to define several settings you normally make in the administrator inside the Application.cfc or in the CFAPPLICATION tag as an attribute.

With Railo 3.3 the local mode can be defined inside the Application.cfc autoinclude component. The local mode defines how uninitialized variables will be treated.

The local mode in Railo allows you to define how variables inside functions are treated. The setting allows two different statuses:

<cfset this.localmode=”always”>
This setting puts uninitialized variables inside a function body into the local scope upon definition.

<cfset this.localmode=”never”>
This is the default setting and places a variable into the variables scope if it hasn't been found in any of the local scopes.

You also have the possibility of defining the session type (cfml|j2ee) within your application. Example Application.cfc

<cfset this.sessionType="j2ee" ...>

Example Application.cfm

<cfapplication sessionType="j2ee" ...>