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 |
To which side ( server ? client) does the user input data validation occur? Explain the reasons for it?
Why the javascript validation not run on the asp.net button but run successfully on the html button?
What are the media types of http requests and response?
What is semantic gap?
I have developed a web application in asp.net 2.0 with Access as back end i am trying to gereate report/export data in excel. After hosting the site i am not getting any error or such exported excel file. but using the source code from my system it works fine. Could any one tell me why it is happening and what is its solution.
Apart from IDE what are the enhancements in asp.net 2.0?
What are the different types of Caching techniques in ASP.NET?
Is it possible to apply themes to an asp.net application? If yes, then how?
What is Response.Flush method ?
How do u declare static variable and how it is declared and what is its lifetime?
Differentiate between a hyperlink control and a linkbutton control.
How do you define authentication in Web.Config?
2 Answers Accenture, BirlaSoft, IBM,
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)