Can I output the progress of a script on the screen?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Haitashi
    New Member
    • Jun 2007
    • 96

    #1

    Can I output the progress of a script on the screen?

    After a form is submitted, it's passed to a Facade component that works with the data (in my case, it duplicates object instances) After the script is done the user is shown a "success!" text on the page.

    I'd like to output the progress of the script. I was thinking that I could write each step of the script. Something like:
    "Copy method started"
    "Copy method finished"
    "Copy method copied 3 activities"

    I think I can achieve this if I can find something in coldfusion similar to the PHP
    system() function

    Any idea how i can do this? As always, your help is greatly appreciated.
  • acoder
    Recognized Expert MVP
    • Nov 2006
    • 16032

    #2
    How about the cfflush tag?

    Comment

    Working...