Neptune 1.0 Beta 3 Documentation: config()

Neptune Information

Download from RIA Forge


The "config" method includes any configuration code that should be run on every request in order for this program to work. This code will be included - as is - in /_config/configfiles.cfm. That code will be run in a method inside the Framework itself (so no locally scoped variables set here will persist to the page).

Variables available to the "config" method:

It is recommended to param configuration settings with the "paramSetting" method rather than set them with the "setSetting" method so that any settings in the site will supercede the defaults set in a program.


<cffunction name="config" access="public" returntype="void" output="no">

<cfset Config.paramSetting("SessionScope","Session")>