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

Mailing Lists
Home / Groups / ColdFusion Talk (CF-Talk)

cfflush in ColdFusion 8

Author:
Raymond Camden
08/27/2007 10:01 PM

First off - in CF8, you have a sleep() function. You don't need to make a java object. Outside of that, your code below worked fine for me. > 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. > > > > > > > >


Search cf-talk

February 11, 2012

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