Application Property

The Application property is a string Variant that is used to distinguish separate instances of the AdServer object in error messages in the NT Event Viewer.

Syntax

AdServerObject.Application

Remarks

It is recommended that the Application property be set to the name of the application's virtual directory so that the virtual directory name will be included in all errors, making them easier to track down.

Example

The following line in  Clocktower's Global.asa file would set the Application property of the AdServer object for the Clocktower application.

Ad.Application = "Clocktower"

After this line has been run, any error generated from this instance of the AdServer object will include " Clocktower " as part of the error message in the log.


© 1997-1998 Microsoft Corporation. All rights reserved.