How to stop server side processing when user clicks browser stop button (ASP.net C#)
<p>I remember I could easily do this in PHP but can't seem to find an answer for ASP.Net. I have a web app that connects to Pop3 server to download emails when a user clicks a button or at set intervals. This process can take a very long time to finish depending on the number of emails to be downloaded. I noticed that when I click the browser stop button the process still continues to download emails preventing the user from navigating to another page. I have tried Response.IsClientConnected property but it doesn't seem to be working.</p>

<p>Any help would be highly appreciated.</p>
