House of Fusion
Search over 2,500 ColdFusion resources here
  
Home of the ColdFusion Community

Search cf-talk

July 04, 2009

<<   <   Today   >   >>
Su Mo Tu We Th Fr Sa
       1 2 3 4
5 6 7 8 9 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29 30 31   

Home / Groups / ColdFusion Talk (CF-Talk)

cfflush in ColdFusion 8

Author:
Doug Arthur
08/27/2007 09:38 PM

I'm having this same problem in CF8 only. I even tried the workarounds, but doesn't work in IE or FireFox! The page does not render until all page processing is complete. Any ideas? Code: <cfset thread = CreateObject("java", "java.lang.Thread")> <cfoutput><!-- #RepeatString("X", 1024)# --></cfoutput> About to sleep for 5 seconds...<cfflush> <cfset thread.sleep(5000)> Done sleeping. Can't blame CF for that - its IE. It says, "Hey, even though you sent me content, I don't feel like I have enough content to show you yet, and honestly, I do know more than you do and you should just trust me. What could go wrong?" Or something like that. > >Ensure you have enough content in your test script. > > Ick. Nasty hack. Hope I don't have to do that. Will test it and see if that's the reason. > >


Mailing Lists