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

How can we use Web API with ASP.NET Web Form?

0 Answers  


Any disadvantages in Dataset and in reflection ?

0 Answers   DELL, Digital GlobalSoft,


What are the different Key TreeView Properties in Asp.net 2.0?

1 Answers   TCS,


What is loop in asp.net?

0 Answers  


Where is cookie used in asp.net?

0 Answers  






What is an Interface and What is an Abstract Class?

3 Answers  


Code for updating the database by entering the data into textboxes in aspx form?

2 Answers   TCS, Wipro,


How would ASP and ASP.NET applications run at the same time on the same server?

0 Answers   Satyam,


Can I have a unique key as foreign key?

0 Answers  


Difference between ByVal and ByRef?

2 Answers   Microsoft,


How many view state can be hold by a aspx page ?

3 Answers   Intellevate,


is it possible to set more than web.config file for an ASP.net APPLICATION?can it run?how is it possible

3 Answers  


Categories