/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. <cffunction name="$runOnSessionEnd" returntype="void" access="public" output="false">
  9. <cfargument name="sessionscope" type="any" required="true">
  10. <cfargument name="applicationscope" type="any" required="true">
  11. <cfscript>
  12. $include(template="#application.wheels.eventPath#/onsessionend.cfm");
  13. </cfscript>
  14. </cffunction>