Global Variables in ColdFusion
问题 2 Questions - In CF8 in the application.cfm I cold set a global variable like so <cfset DSN = "dej6_42"> I am now trying to adjust to the Application.cfc in CF10/Lucee and can not figure out how to set this same variable. Here is my current Application.cfc <cfcomponent output="false"> <cfset This.name = "My Application"> <cfset This.clientmanagement="True"> <cfset This.loginstorage="Session"> <cfset This.sessionmanagement="True"> <cfset This.sessiontimeout="#createtimespan(0,0,10,0)#"> <cfset