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
How can you handle unmanaged code exceptions in asp.net?
What is localhost in asp.net?
How to Insert/Add in ASPXgridview
If we remove web.config or machine.config from the application then, is this application will works?
What is the purpose of using MVC programming pattern in ASP.NET?
can we remote debug applications with the remote debugger installed with vs.net 2002, with vs.net 2003?
Define repository pattern in mvc.net? : asp.net mvc
Define satellite assemblies.
What are web beacons used for?
Explain how can we inherit a static variable?
How do you do client-side validation in .net? How to disable validator control by client side javascript?
Explain the server control events of asp.net ?
Explain the various authentication mechanisms in asp.net.
What is asp.net caching?
What is the maximum amount of memory any single process on windows can address?