Advertisement
Help Keep Boards Alive. Support us by going ad free today. See here: https://subscriptions.boards.ie/.
If we do not hit our goal we will be forced to close the site.

Current status: https://keepboardsalive.com/

Annual subs are best for most impact. If you are still undecided on going Ad Free - you can also donate using the Paypal Donate option. All contribution helps. Thank you.
https://www.boards.ie/group/1878-subscribers-forum

Private Group for paid up members of Boards.ie. Join the club.

Executing ASP and reporting progress

  • 04-10-2001 02:35PM
    #1
    Closed Accounts Posts: 35


    I am executing an asp, and wish to report to the client progress.

    Unfortunatly I cannot report progress untill I finish executing the script... and then sure the processing is complete.

    Anyone any ides how this can be done.

    Cheers in advance.


Comments

  • Closed Accounts Posts: 19,777 ✭✭✭✭The Corinthian


    You can use the buffer to print out your output HTML in stages as the server side code is executed. First set your buffering as on:
    response.buffer=true
    

    And then as whenever you want to add a progress report to the page:
    response.write("<p>This bit of code has been executed</p>")
    response.flush
    

    It not exactly a status bar, but as good as you'll get with HTML delivery alone.


Advertisement