August 16, 2008

2 cool things about Railo

Session management:

If an application/session scope is defined with the tag or the application.cfc, in Railo it will not automatically exist. Only when the scope is used for the first time it will be created. If the scope is not used, it won’t be created either.

This is really good news. Many people have blogged in the past about issues with “bots” hitting ColdFusion sites and spawning a multitude of sessions which (depending on the application of course) can cause memory and/or performance problems.

Trusted cache:

In contrast to CFML Standard, with which the Trusted Cache can only be activated on the server, with Railo it is possible to define single Mappings as Trusted. This is especially useful if a function uses a framework in which the Source-Code doesn’t change any more but the function can generate a dynamic code.

Nice :)

© Michael Sharman 2017