Descrie about response.buffer and repsonse.flush ?
Answers were Sorted based on User's Feedback
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 |
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 |
What is the most appropriate lifetime for a database connection/orm context in an asp.net mvc application? : Asp.Net MVC
What is the difference between exe and dll?
Why SessionID changes in every request in asp.net?
Explain program to call the js function when the change is being made in the dropdown list made in asp.net mvc? : asp.net mvc
What is a page life cycle?
Explain security types in asp.net?
What is CTS, CLS and CLR ?
20 Answers CGI, Palm Technology, Reliable Technology, Satyam, Synergy, TCS,
What is the relationship between IIS and ASP.NET in the generation of dynamic Web sites?
Derive WSDL?
Can the validation occurs in server-side or client-side? If the validation occurs why should we do?
What is route in web api?
Can private assembly be used for more than one application? If so how?
Visual Basic (800)
C Sharp (3816)
ASP.NET (3180)
VB.NET (461)
COM+ (79)
ADO.NET (717)
IIS (369)
MTS (11)
Crystal Reports (81)
BizTalk (89)
Dot Net (2435)
Exchange Server (362)
SharePoint (720)
WCF (340)
MS Office Microsoft (6963)
LINQ Language-Integrated Query (317)
WPF (371)
TypeScript (144)
Microsoft Related AllOther (311)