On Sat, 2002-03-02 at 04:11, Mark Leder wrote: > I have a template that I want to display "Please wait" text, then > go > through a CFIndex Process, with a "complete" message when done. > This > is displayed in a pop-up window. I find that when the CF process > > starts, the window goes blank until the process is done, then > displays all the text. I've tried a CFFlush on the "please wait" > > prior to the process, but then the process hangs. I've also > tried > wrapped CFSilent around the process, to no avail. > > What's the right way to do this?
CFFLUSH should do the job, but remember some browsers won't display anything until thier buffer is full. The way to do this before CFFLUSH existed was to put an intermediate page in, lets say your long process happens on a form submission - you make the process look like SUBMIT FORM => "PLEASE WAIT" Page => Process Form where you submit the form to the please wait page, which includes a hidden form to pass the data on to the real processing. In the onload of the please wait page you submit the form. Thus the please wait page will hang about on screen until the processing returns it's data. ______________________________________________________________________ Why Share? Dedicated Win 2000 Server � PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER Instant Activation � $99/Month � Free Setup http://www.pennyhost.com/redirect.cfm?adcode=coldfusionc FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

