Descrie about response.buffer and repsonse.flush ?
Answer Posted / sudhir sheoran
Respose.Buffer method is used to hold the output
at server side until response.flush/ respose.end
is called.
Server doesn't send response to the browser until
all scripts are executed at server side. It uses
reponser.buffer for that.
E.g:
<%response.Buffer=true%>
<html>
<body>
<p>I write some text, but I will control when
the text will be sent to the browser.</p>
<p>The text is not sent yet. I hold it back!</p>
<p>OK, let it go!</p>
<%response.Flush%>
</body>
</html>
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
Where the assembly is stored in asp.net?
Is viewstate enabled by default?
Describe state management in asp.net?
How to prevent client side validation from the ASP.NET validation controls?
Describe the events in the life cycle of a web application.
What is a web farm?
Explain what does mvc represent in asp.net? : asp.net mvc
How will you load dynamic assembly? How will create assesblies at run time?
Differentiate between early binding and late binding.
What is difference between session and cookies?
What is the default timeout for a cookie?
What is distributed system in asp.net?
Where would you use an ihttpmodule, and what are the limitations of any?
Whats the difference between registerclientscriptblock, registerclientscriptinclude and registerclientscriptresource?
Why web api is better than wcf?