![]() |
|
| • All Online Courses • New Courses • QuickTips • Word Definitions • Submit a Tutorial • Links • |
|
Active Server Pages (ASP) Creating ObjectsYou can declare an object in the Global.asa file that will be used by multiple pages in the application. To do so, use the <OBJECT> </OBJECT> tags:
The RUNAT attribute again specifies that the object should be created on the server. The SCOPE attribute specifies whether the object is session- or application-level. The ID attribute lets you name the object; you can then use this name to access the object from within your ASP pages. The PROGID and CLASSID attributes specify the unique identifier for the type of object being created. You must include one of these. If you're creating an ActiveX object, for example, you can use the CLASSID attribute, which specifies a string value that uniquely identifies the component. To access the object from a page in the application, simply precede the name with the equal sign (=):
by Summer Doucet Find more free Internet tutorials from Learnthat.com. More Information:
Help us by rating this tutorial: [---] [--] [+] [++] [+++] [---] lowest; [+++] highest
|
|
||||||||
![]() |
Learn: Free
Tutorials - Links
to Free Tutorials
Understand: Free Technical Definitions
- ExplainThat Whitepapers
Use: Certification Section -
Discussion Forum
Visit Our Network Sites:
About Us : Contact Us : Advertise : Privacy Information