OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
Re: DCOM creating multiple sessions

From: Katiyar, Subodh (Path) (skatiyarAFSINDIA.COM)
Date: Fri Apr 23 2004 - 04:21:14 CDT


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:ksheera77INDIATIMES.COM]
Sent: Friday, April 23, 2004 2:29 Shaam
To: DCOMDISCUSS.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
ksheera77indiatimes.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-requestDISCUSS.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-requestDISCUSS.MICROSOFT.COM