Point to the VTOM App

Within the Main() function in a Studio (or HomeSite) VTOM script the local application object is always made available. This is what must be used to access all other objects. It is advisable for every Main() function to define a reference to the Application object for future use (as opposed to accessing it directly), and this should be the first operation performed within Main(). (Applies to: ColdFusion Studio All)

Leave a Reply