A
Andyza
In the following code when i = 500 the buffer on the server is flushed
to the client. However, because the content that is sent to the browser
contains an html table Internet Explorer does not display the table
until it receives the closing </table> tag. The question is, am I
correct in saying that the buffer on the server is CLEARED when i =
500? It will be empty for a split second until the loop resumes again.
Am I correct?
Dim i
i = 1
Response.Write("<table>")
For i = 1 to 1000
Response.Write("<tr><td>" & i & "</td></tr>")
i = i + 1
If i = 500 Then
Response.Flush()
End If
Loop
Response.Write("</table>")
Is this a good way to clear the buffer if I'm processing a very large
amount of data?
to the client. However, because the content that is sent to the browser
contains an html table Internet Explorer does not display the table
until it receives the closing </table> tag. The question is, am I
correct in saying that the buffer on the server is CLEARED when i =
500? It will be empty for a split second until the loop resumes again.
Am I correct?
Dim i
i = 1
Response.Write("<table>")
For i = 1 to 1000
Response.Write("<tr><td>" & i & "</td></tr>")
i = i + 1
If i = 500 Then
Response.Flush()
End If
Loop
Response.Write("</table>")
Is this a good way to clear the buffer if I'm processing a very large
amount of data?