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 you can manage the state of application at the server side in ASP.NET?

0 Answers  


what are the State management and Its Uses

2 Answers  


What are the modes of updation in an updatepanel?

0 Answers  


If I m using Session State Partioning where I have partitioned my session into 4 servers then how can I know that my session will be stored on which server?

1 Answers  


What is the difference between mechine.config and web.config?

0 Answers  






How to unit test Web API?

0 Answers  


How to implement globalization and localization in the use interface in .net.

0 Answers  


can i use store procedure in disconnected mode? give me answer

2 Answers  


how we can solve machine key error in asp.net?

3 Answers  


If i have 1000 records in dataset, how to do paging?

2 Answers   Mind Tree,


How many types is controls is there in Asp.Net?If it means what are types of custom controls?Explain about user controls,Web server controls,Hrml server controls?

1 Answers   TCS, Cap Gemini,


what is the difference between this.controls and page.form1.controls and me.controls?

2 Answers   FactorH,






Categories