/wheels/events/onsessionstart.cfm

http://cfwheels.googlecode.com/ · ColdFusion · 12 lines · 11 code · 1 blank · 0 comment · 0 complexity · 1bcfee2282aac8307fbf24c69e0d9051 MD5 · raw file

  1. <cffunction name="onSessionStart" returntype="void" access="public" output="false">
  2. <cfscript>
  3. $simpleLock(execute="$runOnSessionStart", name="wheelsReloadLock", type="readOnly", timeout=180);
  4. </cfscript>
  5. </cffunction>
  6. <cffunction name="$runOnSessionStart" returntype="void" access="public" output="false">
  7. <cfscript>
  8. $initializeRequestScope();
  9. $include(template="#application.wheels.eventPath#/onsessionstart.cfm");
  10. </cfscript>
  11. </cffunction>