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

What are the 3 levels at which content pages can be attached to Master Page?

780


What is view state management in asp net?

656


Define a web service in .net?

806


How can we identify that the Page is Post Back?

718


Is data edited in the Repeater control?

782


What is the server of asp.net?

716


Suppose You Want A Certain Asp.net Function Executed On Mouseover For A Certain Button. Where Do You Add An Event Handler?

833


Explain the main function of url routing system in asp.net mvc? : asp.net mvc

680


How can you handle errors in Web API?

792


can s/w quality assurance engineer switch field to programming side i m very much interested in programming but not much good in it

1660


What is httpresponse?

705


What are session state modes? List some of the important session state modes of asp.net.

708


Is asp.net and .net the same?

681


What is css in asp.net?

748


What are the major built-in objects in ASP.NET?

784