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
What is viewstate? What does the “enableviewstate” property do?
What are the file extensions for razor views?
What are web server controls in asp.net?
What are the different types of events are occured when a client requests an ASP.NET page from IIS server?
What is application Object?
What are type/key pairs in client script registration?
Explain how caching in asp.net 2.0 is different from caching in asp.net 1.1?
How to make paging concepts in datagrid in ASP.NET?
Why session is used in asp.net?
How many types of sessions are there in asp net?
To redirect the user to another page which method do we use without performing a round trip to the client?
What is a windows service?
What is state management in asp.net with example?
How can u deifne the benefits and limitation of using Viewstate for state management?
What are the different method of navigation in asp.net?