[prev in list] [next in list] [prev in thread] [next in thread] 

List:       ms-dcom
Subject:    Re: DCOM creating multiple sessions
From:       "Katiyar, Subodh (Path)" <skatiyar () AFSINDIA ! COM>
Date:       2004-04-23 9:33:14
Message-ID: F2487403B450734395BE788B12C06A2007868390 () sin01exc02 ! corp ! afsindia ! com
[Download RAW message or body]

hi
you can have a leaf component in the remote machine which takes the classid and 
parameter array  and does a create instance on the remote machine for the given \
classid  and execute the methods by calling callbyname method,that will solve your \
problem with about 60 ms of time increment percall.


-----Original Message-----
From: ksheera77 [mailto:ksheera77@INDIATIMES.COM]
Sent: Friday, April 23, 2004 2:29 Shaam
To: DCOM@DISCUSS.MICROSOFT.COM
Subject: DCOM creating multiple sessions


Hello Excellents
Greetings
I have an application (VB) which uses DCOM to connect to remote m/c and call some \
dlls (VB) and execute some methods (the remote m/c is not in my domain) I am using \
None and Impersonate modes in the dcomconfig.exe. When I run my application and \
capture the packets using Ethereal s/w, I find multiple sessions being established \
between my machine and remote m/c. Now here is my question...How can I reduce those \
multiple sessions to a single session (is it possible).  I also find that for every \
createObject call in the client a session is being establish b/w my machine and the \
remote m/c.  Why is it that the session once established is not being used everytime \
for subsequent calls? does DCOM destry the session once the call is executed? Hope I \
am clear in explaining my problem. Please throw some light on this.

Best Regards
Prasad
ksheera77@indiatimes.com
Indiatimes Email now powered by APIC Advantage. Help!
HelpClick on the image to chat with me

----------------------------------------------------------------
Users Guide http://discuss.microsoft.com/archives/mailfaq.html
contains important info. Save time, search the archives at
http://discuss.microsoft.com/archives/index.html .
To unsubscribe, mailto:DCOM-signoff-request@DISCUSS.MICROSOFT.COM


DISCLAIMER:
The information contained in this Message is confidential and intended only for the \
use of the individual or entity identified. If the reader of this message is not the \
intended recipient, any dissemination, distribution or copying of the information \
contained in this message is strictly prohibited. If you received this message in \
error, please notify the sender immediately.

----------------------------------------------------------------
Users Guide http://discuss.microsoft.com/archives/mailfaq.html
contains important info. Save time, search the archives at
http://discuss.microsoft.com/archives/index.html .
To unsubscribe, mailto:DCOM-signoff-request@DISCUSS.MICROSOFT.COM


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic