<cfcomponent
output="false"
hint="I define application settings for APP 2.">
<cfset THIS.Name = "SubAppTwo" />
<cfset THIS.ApplicationTimeout = CreateTimeSpan( 0, 0, 5, 0 ) />
<cfsetting showdebugoutput="false" />
<cffunction
name="OnRequestStart"
access="public"
returntype="boolean"
output="false"
hint="I run before the requested template gets processed.">
<cfargument
name="Page"
type="string"
required="true"
hint="I am the requested page."
/>
<cfset REQUEST.DSN = {
Source = "app2_dsn",
Username = "app2_user",
Password = "donkey"
} />
<cfset REQUEST.Mode = "Production" />
<cfreturn true />
</cffunction>
</cfcomponent>