Descrie about response.buffer and repsonse.flush ?
Answer Posted / 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 View All Answers
Which two new properties are added in asp.net 4.0 page class?
What is the life cycle of an asp.net page?
Can we make activex dll also ti execute in some process as that of client ? How can we do?
Explain security types in asp.net?
What is the difference between mvc and asp.net? : Asp.Net MVC
What is a windows service?
What are the layouts of ASP.NET Pages?
Which property is used to identify the Page is Post Back in ASP.NET?
Web API supports which protocol?
How would you get asp.net running in apache web servers?
What is the procedure to create the environment for asp.net? : asp.net mvc
Explain Authentication mechanism in dotnet
Explain the asp.net session state modes.
How asp.net mvc differs from asp.net web forms? : asp.net mvc
What are the event handlers that we can have in global.asax file?