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
Define the term Scavenging in Caching?
What is the most appropriate lifetime for a database connection/orm context in an asp.net mvc application? : Asp.Net MVC
How do you handle server controls?
Am not able to move the controls on the form freely in asp.net 3.5 even though I selected the position as relative or absolute for those controls. What should I do to overcome this?
How asynchronous call can be implemented using delegates?
How to find last error which occurred?
What are the types of session in asp.net?
How to find out what version of asp.net I am using on my machine?
Why is mvc better than asp.net?
Can you explain why it is useful to use mvc instead of webforms? : asp.net mvc
How to create a db connection at one place/page so that we can use that connection for all pages/forms/windows.what r the steps ned to be performed if question not clear,let me know
Whta are the Various steps taken to optimize a web based application (caching, stored procedure etc.) ?
How to bind all the binding controls in a page at once in ASP.NET?
In a page I have gridview with options of select and delete using hyperlink when I am selecting any one of then it has to open another page how can it?
How do I open an ashx file in windows 7?