When a user requests a Web page in an ASP-based application, the server calls the OnStartPage method for all components (except those with application scope) on that page. This call occurs before the server processes the script.
You can use the OnStartPage method to use the ScriptingContext interface to retrieve pointers to the built-in object interfaces. Your component can then use the built-in object interface to access that objectís collections, methods and properties. Using OnStartPage and ScriptingContext to retrieve and use built-in object interfaces and their methods, instead of passing built-in objects as parameters makes your component easier to use in ASP scripts.
For more information about the built-in object interfaces see Built-in Object Interfaces for C++, Java, or Visual Basic (depending on the programming language you intend to use).
For more information about the built-in objects, see the Object Reference.
© Microsoft Corporation. All rights reserved.