Ask Ben: Building A jQuery And ColdFusion Rating System

<cfcomponent
	output="false"
	hint="I define the application settings and event handlers.">
 
	<!--- Define the application. --->
	<cfset this.name = hash( getCurrentTemplatePath() ) />
	<cfset this.applicationTimeout = createTimeSpan( 0, 0, 5, 0 ) />
 
	<!--- Define the page request settings. --->
	<cfsetting showdebugoutput="false" />
 
 
	<cffunction
		name="onApplicationStart"
		access="public"
		returntype="boolean"
		output="false"
		hint="I initialize the application.">
 
		<!--- Define the application. --->
		<cfset application.dsn = "xyz" />
 
		<!--- Return out. --->
		<cfreturn true />
	</cffunction>
 
</cfcomponent>

For Cut-and-Paste