tags:

views:

40

answers:

1

If I have a page that takes some amount of time to process, and suddenly the client closes it's connection (network disconnect, browser closed, etc), what will happened to the processing operation on the server side? Is it get canceled automatically or it continues to process, and then stop right before rendering?

+1  A: 

It continues processing until something notices that the client has disconnected and calls Response.End(). You can check yourself with the Response.IsClientConnected property.

Dean Harding