Descrie about response.buffer and repsonse.flush ?

Answers were Sorted based on User's Feedback



Descrie about response.buffer and repsonse.flush ?..

Answer / radha

Respence.Buffer method can be used to specify the current
output should be buffered or not. when the buffering is set
true, the page will not send output to the client until the
scripts on the page has been processing or flush method is
call.

Response.flush method is used to send buffered output
immediatly. when the response.buffer is set true.

Is This Answer Correct ?    12 Yes 2 No

Descrie about response.buffer and repsonse.flush ?..

Answer / 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

More ASP.NET Interview Questions

Difference between .NET and previous version?

0 Answers   Microsoft, TIPL,


What methods are fired during the page load?

2 Answers  


What is the use of sessionstate tag in the web.config file?

2 Answers  


what is asp.net

4 Answers  


What is the main use of Response.Output.Write()?

4 Answers   Siebel,






Explain the purpose of storyboard.targetproperty.

0 Answers  


Difference Between ReadOnly and Constant Variable in compile time and Run Time.

3 Answers   Phoenix Technologies, Quadrant,


1.how to encrpt query string in asp.net? 2.there are 10000 records then i wnat display 5000 records one gridview and 5000 records another grid view what is the process?

0 Answers   Marlabs,


What is difference between singleton and single call?

0 Answers  


Which is better union or union all?

0 Answers  


In which form does the dataset store data in it?

3 Answers   Verinon Technology Solutions,


How to authenticate users using Web.Config ?

1 Answers   Accenture,


Categories