devxlogo

Server.CreateObject vs. the OBJECT Tag

Server.CreateObject vs. the OBJECT Tag

Question:
What is the difference between creating objects using Server.CreateObject and the tag?

Answer:
The difference is when the object is actually created. Server.CreateObject makes an object whenever the code is executed. Using an OBJECT tag causes the object to be created only when the object is accessed.

devx-admin

Share the Post: