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
Why and where this web.config file is used?
Where sessions are stored in asp.net?
Explain the function of new view engine in asp.net? : asp.net mvc
Can I recieve both html markup for page and code in the asp.net web page's source code portion in the web browser?
Can the validation occurs in server-side or client-side? If the validation occurs why should we do?
How do we ensure view state has not tampered?
What are the advantages and limitations of query string?
What is the difference between an htmlinputcheckbox control and an htmlinputradiobutton control?
What is the main function of url routing system in asp.net mvc? : asp.net mvc
Explain the main differences between asp and asp.net?
How to do state management in ASP.NET?
What is the use of web.config file?
What are the file extensions for razor views?
How do we implement bundling in MVC?
What is the adavantage of using ASP.NET routing?