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

When we use cookie less session? Explain its working?

0 Answers   Sans Pareil IT Services,


Is it possible to prevent a browser from caching an ASPX page?

3 Answers  


What are type/key pairs in client script registration? Can there be 2 scripts with the same type/key pair name?

0 Answers  


What is inheritance and an how it be used, example with an example?

0 Answers   Siebel,


Input:http://www.allinterview.com/forms/questionform.php Output:http://www.allinterview.com/forms/questionform Write c# program to get the above desired output for the given Input.....

3 Answers   Bally Technologies,






In cache where dats is stored and how(file or object?)

2 Answers  


Explain weak typing and strong typing.

0 Answers  


What are generics? why it is used? architecture of ASP.NET?

7 Answers   Path Infotech, Satyam, TCS,


How can u handle Un Managed Code Exceptions in ASP.Net?

1 Answers   Lara Technology,


what is new debug tools in asp.net ?

1 Answers  


What is the difference between Postback and Ispostback Property?

7 Answers   Atrocity Apps Technologies, DC Infotech, HCL, Maples, Visual Soft,


Explain the difference between response.redirect vs server.transfer

0 Answers  


Categories