Les,

CF, under the 4.5 engine, renders the entire page before sending it to the
client.  Currently there is no response.flush capability.  You'll have to
wait for CF 5.0 for this functionality.  The <CFFLUSH> tag will allow for
this.  Check out the CF Beta site at http://beta.allaire.com for more
details  (you'll have to register to access the info and the binaries).

Jeff Garza
Web Developer/Webmaster
Spectrum Astro, Inc.
480.892.8200

[EMAIL PROTECTED]
http://www.spectrumastro.com



-----Original Message-----
From: Les Mizzell [mailto:[EMAIL PROTECTED]] 
Sent: Monday, April 16, 2001 8:38 AM
To: CF-Talk
Subject: Order of Display/Page Rendering Question


I have a page that was originally ASP that I've converted over to CF.  This
was a "Find a Rep near you" type search that has a huge database behind it
(eight different countries) - so the search could take up to 10 or 15
seconds.

On the ASP version, so the user wouldn't get too bored during the process,
I placed a small "Progress Indicator" animated gif on the page that
displayed until the search results came up.

On the CF page, I've got my chuck of HTML code with the "Progress Gif" FIRST
on the page, before any of the CF code that searches the database and
displays the results. However, the CF pages refuses to display the page at
all until the search is complete, leaving you enough time to go refresh your
cup of coffee after you click "Submit" on the "Find Your Rep" form on the
initial search page.

So, Cold Fusion doesn't display a page "top down"? Any way to get the search
to run in the background so you can still stare at the "Progress Gif" while
you wait on the results to come up?

Thanks!

--
Les Mizzell
****************
Who Needs Intel?
ATHLON INSIDE!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to