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

Explain weak typing and strong typing.

0 Answers  


How to communicate via Remote proxy with Client? a)MarshalByRef b)Marshal by Value or Any thing else?

0 Answers  


what are partial classes and their use?

3 Answers   Microsoft,


Explain Optimization technique description?

0 Answers   Digital GlobalSoft,


repeater and gridview diff? Why is repeater fast than gridview?

3 Answers   TCS,






Can two different programming languages be mixed in a single ASMX file?

1 Answers   IBM, Patni, Wipro,


Give an example appropriate use forweb service as opposed to a non-serviced .NET component

1 Answers   Siebel,


What is the difference between table and query?

0 Answers  


What is the difference between <%#%> and <%=%>?

4 Answers   IBS,


How many types of session state management options available in asp.net?

0 Answers  


Which data types are supported by the RangeValidator control?

2 Answers   Siebel,


version information is mentioned in which file

3 Answers   AG Technologies,


Categories