> -----Original Message-----
> From: Raymond Camden [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, May 30, 2001 8:30 AM
> To: CF-Talk
> Subject: RE: CFFLUSH QUESTION
> 
> 
> CFFLUSH doesn't know the difference between TABLE tags or any other HTML
> tag. It just flushes out content. It's really up to the browser, 
> so you will
> have to test to find out.
> 
> One thing I've found is that IE will refuse to render until it 
> gets X amount
> of data. So, if you don't have a lot of output before your CFFLUSH, you
> won't see anything. I got around this by using RepeatString(" ",X) where X
> is some number.
> 

Ray,

I've used the following code to test out cfflush.  It renders fine in the browsers 
I've tested, which are Netscape 4.7 and 6.01, and ie 5.5:

<!--- Used between the body /body tags of the page --->

Hi there!
<br><br>
<cfflush>

<cfset arr9k=ArrayNew(1)>

<cfloop from="1" to="9000" index="x">
        <cfset arr9k[x] = x>
</cfloop>

<cfloop from="1" to="#ArrayLen(arr9k)#" index="thisval">
        <cfoutput>#thisval#,</cfoutput>
</cfloop>

<!--- End --->

The text "Hi there!" is flushed to the browser and displayed before the array loops 
are executed, so the text will appear in the browser and then a couple of seconds 
later, the output will appear.

Which version of IE are you using?  Browser inconsistencies drive me insane.

-Andy


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
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