write response while processing

  • Thread starter Thread starter auctiontrading
  • Start date Start date
A

auctiontrading

Hi all
I have a method that will run through a lot of data and write it out.
I am simply writing the data out as response.write().

The problem I am having is that the the response does not show up
until ALL the processing in the method is performed before writing it
out to the screen. How would I write to the screen while the method is
still working without having to wait until the entire method is
complete? It would take a few minutes for the page to show.

i.e.
private sub doWork
while i < x
if something = true
response.write("output")
end if
end while
end sub
 
Back
Top