ASP.NET(vb.net) Response.Buffer(),BufferOutput() - Response Object - Response.Buffer(),BufferOutput() : The Buffer property indicates whether to buffer page output. When page output is buffered, the server does not send a response to the client until all of the server scripts on the current page have been processed, or until the Flush or End method is called.
ShotDev Focus:
- ASP.NET(vb.net) Response.Buffer(),BufferOutput() - Response Object
Example
AspNetResponseBuffer.aspx
<%@ Page Language="VB" %> <script runat="server"> Sub Page_Load(sender As Object, e As EventArgs) Response.BufferOutput = True 'Response.Buffer = True Dim i As Integer For i = 0 To 10000 Response.write(i & "<br>") Next End Sub </script> <html> <head> <title>ShotDev.Com Tutorial</title> </head> <body> <form id="form1" runat="server"> <asp:Label id="lblText" runat="server"></asp:Label> </form> </body> </html>
Screenshot
3self-defense…
…