You can: <cfinvoke component="path.to.application" method="onSessionEnd" sessionScope="#session#" />
Note that just calling onSessionEnd() doesn't actually do anything unless you put your own code in the method in Application.cfc though. On 8/2/07, Ian Skinner <[EMAIL PROTECTED]> wrote: > > As Brian showed, if you just want to clear session data, just > structClear() or structDelete() as necessary. If you want to run the > onSessionEnd() method because it may also do logging or other end of > session activities, you will need to do this inside an application. cf > cmethod. The way I usually see it done is in the onRequestStart() > method put in logic that detects an URL string or some other trigger > that then calls the onSessionEnd() method. I do not think one can > access the application.cfc methods form outside the code, can one? > > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| ColdFusion 8 - Build next generation apps today, with easy PDF and Ajax features - download now http://download.macromedia.com/pub/labs/coldfusion/cf8_beta_whatsnew_052907.pdf Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:285251 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

