|
-
Apr 5th, 2001, 09:33 AM
#1
Thread Starter
Lively Member
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
-
Apr 5th, 2001, 09:43 AM
#2
yes you have to use SetAbort and SetComplete.
Also make sure you set your object to nothing in your asp page.
-
Apr 5th, 2001, 10:33 AM
#3
Thread Starter
Lively Member
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
-
Apr 5th, 2001, 11:10 AM
#4
Not every sub, just in the subs/functions that are called by the ASP page do it right before you exit the function
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|