The information in this article applies to:
SYMPTOMSWhen you have the Scripting Object Model (SOM) enabled on your Active Server Pages (ASP) page, any JavaScript functions following the naming convention "xxxx_ctor" or "xxxx_dtor" are automatically executed instead of being called programmatically. CAUSE
The SOM uses the 'RuntimeObject' method to find the all the constructors
and destructors of script objects. Under the current implementation, in the
object construction phase, the method RuntimeObject walks through the ASP
page and finds all members that match the pattern *_ctor and adds them to
the constructor collection ctor. It then invokes all the constructor
functions. In the object destruction phase, the RuntimeObject method walks
through the ASP page and finds all members that match the pattern *_dtor
and adds them to the destructor collection dtor. It then invokes all the
destructor functions.
STATUSThis behavior is by design. MORE INFORMATIONSteps to Reproduce Behavior
Keywords : kbVisID600 kbGrpASP |
Last Reviewed: May 10, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |