Changeset 1594

Show
Ignore:
Timestamp:
07/08/08 14:46:57 (6 months ago)
Author:
lmajano
Message:

Fix for app scope on the onSessionEnd

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • coldbox/trunk/ApplicationTemplate/handlers/main.cfc

    r1574 r1594  
    4545                <!--- ON session End Here ---> 
    4646                <cfset var sessionScope = event.getValue("sessionReference")> 
     47                <cfset var applicationScope = event.getValue("applicationReference")> 
    4748                 
    4849        </cffunction> 
  • coldbox/trunk/system/coldbox.cfc

    r1592 r1594  
    271271                                        //Place session reference on event object 
    272272                                        event.setValue("sessionReference", arguments.sessionScope); 
     273                                        //Place app reference on event object 
     274                                        event.setValue("applicationReference", arguments.appScope); 
    273275                                        //Execute the Handler 
    274276                                        cbController.runEvent(cbController.getSetting("SessionEndHandler"),true); 

Copyright 2006 ColdBox Framework by Luis Majano