|
|
Home / Groups / ColdFusion Talk (CF-Talk)
cfflush in ColdFusion 8First 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. > > > > > > > > |
Mailing Lists
|
Latest Fusion Authority Articles
|