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


Please Help Members By Posting Answers For Below Questions

Which two new properties are added in asp.net 4.0 page class?

525


What is the life cycle of an asp.net page?

526


Can we make activex dll also ti execute in some process as that of client ? How can we do?

4250


Explain security types in asp.net?

543


What is the difference between mvc and asp.net? : Asp.Net MVC

478






What is a windows service?

557


What are the layouts of ASP.NET Pages?

618


Which property is used to identify the Page is Post Back in ASP.NET?

556


Web API supports which protocol?

856


How would you get asp.net running in apache web servers?

542


What is the procedure to create the environment for asp.net? : asp.net mvc

517


Explain Authentication mechanism in dotnet

630


Explain the asp.net session state modes.

618


How asp.net mvc differs from asp.net web forms? : asp.net mvc

554


What are the event handlers that we can have in global.asax file?

532