Connecting Tech Pros Worldwide Help | Site Map

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

Haitashi's Avatar
Member
 
Join Date: Jun 2007
Location: Orlando, FL
Posts: 94
#1: Jun 10 '08
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's Avatar
Site Moderator
 
Join Date: Nov 2006
Location: UK
Posts: 14,581
#2: Jun 11 '08

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


How about the cfflush tag?
Reply


Similar ColdFusion bytes