-
I have created a MTS Object which works fine, but after the asp page has completed, the object seems to still be running in memory.
If you look in task manager, dllhost.exe, which was created by the MTS Object is eating up alot of memory.
Is this normal?
Do I have to SetAbort or SetComplete?
Thanks in advance
:rolleyes:
-
yes you have to use SetAbort and SetComplete.
Also make sure you set your object to nothing in your asp page.
-
Thanks for the info.....
What is a typical example of these commands? I take it these commands are in the COM+ Object and not used in the asp.
How would you phrase it in the COM+ object - is it something like this??
Public Sub Main()
Dim oContext As ObjectContext
Set oContext = GetObjectContext()
'--------------------------------
Do Stuff
'--------------------------------
oContext.SetAbort
End Sub
If i had many subroutines in the COM+ object would I have to do this for each sub??
again, thanks for helping:confused:
-
Not every sub, just in the subs/functions that are called by the ASP page do it right before you exit the function