How to handle client disconnect with PollingDuplexHttpBinding

Posted by sako73 on Stack Overflow See other posts from Stack Overflow or by sako73
Published on 2010-06-09T18:10:04Z Indexed on 2010/06/09 18:12 UTC
Read the original article Hit count: 578

I am implementing a WCF service, with a Silverlight 3 client, which uses a PollingDuplexHttpBinding for communications. What are the alternatives for handling when a client closes their browser without disconnecting from the server first?

I know that it will eventually throw a TimeoutException, which I can catch, but is there a better way of detecting this?

Thanks.

© Stack Overflow or respective owner

Related posts about wcf

Related posts about Silverlight