PageRenderTime 52ms CodeModel.GetById 20ms app.highlight 17ms RepoModel.GetById 14ms app.codeStats 0ms

/wheels/events/onsessionend.cfm

http://cfwheels.googlecode.com/
ColdFusion | 15 lines | 14 code | 1 blank | 0 comment | 0 complexity | 1f43d660251f2c05700e9cd0bc462f2e MD5 | raw file
 1<cffunction name="onSessionEnd" returntype="void" access="public" output="false">
 2	<cfargument name="sessionscope" type="any" required="true">
 3	<cfargument name="applicationscope" type="any" required="true">
 4	<cfscript>
 5		$simpleLock(execute="$runOnSessionEnd", executeArgs=arguments, name="wheelsReloadLock", type="readOnly", timeout=180);
 6	</cfscript>
 7</cffunction>
 8
 9<cffunction name="$runOnSessionEnd" returntype="void" access="public" output="false">
10	<cfargument name="sessionscope" type="any" required="true">
11 	<cfargument name="applicationscope" type="any" required="true">
12	<cfscript>
13		$include(template="#application.wheels.eventPath#/onsessionend.cfm");
14	</cfscript>
15</cffunction>