tags:

views:

66

answers:

3

Hi everyone

Is there a way in ASP.NET to check if the browser where the page was requested is still open? If the browser is closed, a way to stop the request's rendering.

Thank you

+2  A: 

Response.IsClientConnected

XIII
A: 

Depending on your requirement, creating a simple JavaScript AJAX ping that calls home every few seconds while the browser is open might be a good alternative.

Cahit