Browse DevX
Sign up for e-mail newsletters from DevX

Tip of the Day
Language: Enterprise
Expertise: Advanced
Jun 28, 2000



Building the Right Environment to Support AI, Machine Learning and Deep Learning

More Benefits of Creating Objects Using the <OBJECT> Tag

In a previous Tip of the Day I wrote, I advocated object creations using the <OBJECT> tag for efficient server resource use.

Another benefit of this approach is that, for the scope of the page, a valid object is always present. Therefore, errors like "object doesn't exist" are not encountered. Also, because all the object tags are at the top of the page, you very easily can open an ASP page and immediately find out which objects are being used in the page.

The syntax is:

 <OBJECT RUNAT=server PROGID=MyObject id=MyId> </OBJECT>
Remember that ASP will not let you set an object that you created with the object tag equal to nothing.
Jai Bardhan
Comment and Contribute






(Maximum characters: 1200). You have 1200 characters left.



Thanks for your registration, follow us on our social networks to keep up-to-date