Caveat when calling components from onSessionEnd()
Friday, September 28th, 2007As most ColdFusion developers know, you cannot reference ‘application’ scoped variables directly in Application.cfc’s onSessionEnd() method. Instead you need to use the ApplicationScope parameter. Notes from the docs:
You must use the ApplicationScope parameter to access the Application scope. You cannot reference the Application scope directly; for example, use Arguments.ApplicationScope.myVariable, not Application.myVariable. Use a named lock […]