Hi all, I was wondering what is the best way to detect client disconnect in the middle of an async web service call.
I'm asusming that if a client disconnects while the server is still processing the async web method call, an exception will be thrown. First, I wonder if someone can confirm that this is the right assumption.
If that's the case, then I was wondering where should I set up the SEH block to catch this exception. My gut tells me to set up the SEH block in side the delegate funciton, but I might be wrong. Also, what kind of an exception would I be getting if the client disconnects?
Finally, if the SEH is set up in the delegate, what happens if a client disconnects in the tiny window before or after the delegate gets called?
If someone can shed some light here I'd really appreciate it!
View Complete Post