L
Luiz Vianna
Guys,
I need to send some info to my client while I'm processing some stuff. The flow will be something like :
-process
-response
-process
-response
....
I imagine to use response.flush (as I did on ASP) but it does not work. See my test code, after sending 2 lines on response, I'm simulating a processing time before sending other 2 lines.
Response.Write("Line1<br>")
Response.Write("Line2<br>")
Response.Flush()
Dim i As Double
Do While i < 1000000000
i += 1
Loop
Response.Write("Line3<br>")
Response.Write("Line4<br>")
What hapens is that Line1 and Line2 comes only after processing time..
Ideas?
Thanks
Luiz
I need to send some info to my client while I'm processing some stuff. The flow will be something like :
-process
-response
-process
-response
....
I imagine to use response.flush (as I did on ASP) but it does not work. See my test code, after sending 2 lines on response, I'm simulating a processing time before sending other 2 lines.
Response.Write("Line1<br>")
Response.Write("Line2<br>")
Response.Flush()
Dim i As Double
Do While i < 1000000000
i += 1
Loop
Response.Write("Line3<br>")
Response.Write("Line4<br>")
What hapens is that Line1 and Line2 comes only after processing time..
Ideas?
Thanks
Luiz