Thursday 17 October 2013

Response.Flush() vs Response.End

Response.Flush() vs Response.End:
Response.Flush

Forces all currently buffered output to be sent to the client.
The Flush method can be called multiple times during request processing.

Response.End

Sends all currently buffered output to the client,
stops execution of the page, and raises the EndRequest event.