wrote:
> Hi!
>
> I have a script that is taking some time to run and in my page, i've
> placed some comments to be displayed on the webpage so I can know what
> the script is currently running.
> Unfortunately, the HTML page is displayed ONLY when the script is
> entirely finished.
> I'd like the comments placed within the script to be displayed as soon
> as the script is reading them, not at the end!
>
You need to turn the response buffer on and, when you want the output
sent to the client, flush the buffer
Response.Buffer = True
....
Response.Flush
....
Response.Flush
--
Microsoft MVP -- ASP/ASP.NET
Please reply to the newsgroup. The email account listed in my From
header is my spam trap, so I don't check it very often. You will get a
quicker response by posting to the newsgroup.