K
Kursat
Hi,
I am employing a webservice in my C# application. I have generated proxy
class for the web service thus I instantiate an object from that class like
it is local, use it and let it garbage collected.
That is all for my side but I don't have any idea about what happens on the
server side. There will be an HTTP connection between client and server. Is
this connection automatically closed by the infrastructure when the
webservice proxy object is finalized? What about the Session on the server
side, when is it closed? Is there anything I should do explicitly with the
webservice proxy object to close http connection and session on server side?
Thanks in advance.
I am employing a webservice in my C# application. I have generated proxy
class for the web service thus I instantiate an object from that class like
it is local, use it and let it garbage collected.
That is all for my side but I don't have any idea about what happens on the
server side. There will be an HTTP connection between client and server. Is
this connection automatically closed by the infrastructure when the
webservice proxy object is finalized? What about the Session on the server
side, when is it closed? Is there anything I should do explicitly with the
webservice proxy object to close http connection and session on server side?
Thanks in advance.