<cfcomponent
output="false"
hint="I provide page request settings and application leve event handlers.">
<cfset THIS.Name = "expires-#Hash( GetCurrentTemplatePath() )#" />
<cfset THIS.ApplicationTimeout = CreateTimeSpan( 0, 0, 5, 0 ) />
<cffunction
name="OnApplicationStart"
access="public"
returntype="boolean"
output="false"
hint="I initialize the application.">
<cfset APPLICATION.DateInitialized = Now() />
<cfset APPLICATION.VersionKey = (APPLICATION.DateInitialized * 1) />
<cfreturn true />
</cffunction>
<cffunction
name="OnRequestStart"
access="public"
returntype="boolean"
output="false"
hint="I initialize the page request.">
<cfif StructKeyExists( URL, "reset" )>
<cfset THIS.OnApplicationStart() />
</cfif>
<cfsetting showdebugoutput="false" />
<cfreturn true />
</cffunction>
</cfcomponent>