Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie
Hi there,
There is an issue with role permissions that is being worked on at the moment.
If you are having trouble with access or permissions on regional forums please post here to get access: https://www.boards.ie/discussion/2058365403/you-do-not-have-permission-for-that#latest

Executing ASP and reporting progress

  • 04-10-2001 1: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