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