Monday, July 7, 2014

Difference between Response.End(),Response.Close() and Response.Flush()?

Response.End() will stop the page execution/rendering at that point. No code following Response.End() will be run. The response is terminated at that point with no further output added to the stream.

Response.Close() is similar to Response.End(), but allows code to be executed after it is called (but no further output can be sent in the page response).

Response.Flush() will send any remaining response items to the page. 

No comments:

Post a Comment