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 difference between web.config and machine.config in ASP.NET?
What method must be overridden in a custom control? a) The Paint() method b) The Control_Build() method c) The Render() method d) The default constructor
1 Answers Icertis, Microsoft, Syntax Softtech,
How can you use a custom controls in ASP.NET application?
0 Answers Sans Pareil IT Services,
Differentiate strong typing and weak typing
How will you do Redo and Undo in a TextControl?
What is the purpose of asp.net?
What are the asp.net list controls and difference between them?
What is the Difference between Web.config and global.asax? Can we write connection String code in global.asax?
How would you create a permanent cookie?
How much is the pay-for-use service if I chose not to use microsoft-sponsored advertising?
What language is asp.net written in?
Any alternative to avoid name collisions other then Namespaces?
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)