Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Flushing the response

Status
Not open for further replies.

Custom24

Programmer
Nov 27, 2001
591
GB
Hi

Say I have this in the page_load

Label1.text = "Rendered"

Dim intI as integer
For intI = 1 to 100
response.write (intI.tostring & &quot;<br>&quot;)
system.threading.thread.sleep(1000) 'sleep for 1 second
response.flush
next intI

What I would expect is that when the program reaches the first response.flush, I would see in the browser the contents of the label and the first result of the loop.

In fact, neither is happening.

The buffer property for the page is set to true.

Any idea what I am doing wrong?

Thanks

Mark
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top