vikrampschauhan
January 26th, 2005, 01:07 AM
For the statement:
set conntemp=server.createobject("adodb.connection")
I believe the function createobject creates an object on the heap and gives its reference to conntemp.
I have a C++/C# background and am trying to relate the two.
I believe in ASP also, an object is created on the stack unless we explicitly allocate it on the heap(using the new operator).
Am I correct?
Thanks
Vikram
set conntemp=server.createobject("adodb.connection")
I believe the function createobject creates an object on the heap and gives its reference to conntemp.
I have a C++/C# background and am trying to relate the two.
I believe in ASP also, an object is created on the stack unless we explicitly allocate it on the heap(using the new operator).
Am I correct?
Thanks
Vikram