Obtaining the Application Name

APPLICATION variables are unique to a specific named application. To find out the name of the APPLICATION in use you may refer to APPLICATION.ApplicationName. But be careful to not change or overwrite this value (and if you ever use Struct functions on the APPLICATION scope remember to make sure ApplicationName is left intact) or you’ll no longer have access to anything within that scope. (Applies to: ColdFusion 3 (or later))

Leave a Reply