|
|
Home /
Groups /
ColdFusion Talk (CF-Talk)
cfflush in ColdFusion 8
I'm having this same problem in CF8 only. I even tried the workarounds, butDoug Arthur 08/27/07 09:38 P First off - in CF8, you have a sleep() function. You don't need toRaymond Camden 08/27/07 10:01 P Thanks Ray, I'm using code compatible in CF6 & CF7. My question now is, whyDoug Arthur 08/28/07 10:00 A You got me there. Did you do anything else in the request that wouldRaymond Camden 08/28/07 10:10 A Ray, are you using IIS6 or IIS7?Doug Arthur 08/29/07 01:09 A Apache. :)Raymond Camden 08/29/07 06:31 A Doug Arthur wrote:Jochem van Dieten 08/28/07 10:34 A Is the issue possibly IIS7 within Vista? And if so, does anyone know of aDoug Arthur 08/28/07 04:28 P Doug Arthur wrote:Jochem van Dieten 08/29/07 03:46 A My solution for cfflush on CF8 with IIS:Matthew Lesko 12/12/07 10:01 A I am also having issues with the cfflush tag using IIS. Unfortunately the environment I am in is pretty locked down and I cannot even use firefox to determine if the problem is IE. My biggest problem is that this link no longer works. Does anyone know what this solution was?Wes Middendorff 07/28/08 10:26 P Wes, I remember this cfflush issue being discussed at the very firstMike Kear 07/29/08 03:08 P I apologize, I haven't followed every message in this thread, but I wantedBrad Wood 07/29/08 03:49 P This link no longer works, does anyone know what this solution was supposed to be?Wes Middendorff 07/28/08 10:27 P Copy and paste the link carefully. The page is working fine.James Holmes 07/28/08 10:38 P 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. > > 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. ----- Excess quoted text cut - see Original Post for more ----- Thanks Ray, I'm using code compatible in CF6 & CF7. My question now is, why would it not work in my installation and it would work in yours? I just downloaded CF8 from Adobe's website over the weekend and installed it as a Multiserver JRun4 install. Thanks, - Doug 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 ----- Excess quoted text cut - see Original Post for more ----- You got me there. Did you do anything else in the request that would have broken cfflush? ----- Excess quoted text cut - see Original Post for more ----- =========================================================================== Raymond Camden, Camden Media Email : ray@camdenfamily.com Blog : www.coldfusionjedi.com AOL IM : cfjedimaster Keep up to date with the community: http://www.coldfusionbloggers.org Ray, are you using IIS6 or IIS7? You got me there. Did you do anything else in the request that would have broken cfflush? > Thanks Ray, I'm using code compatible in CF6 & CF7. My question now is, why > would it not work in my installation and it would work in yours? > > I just downloaded CF8 from Adobe's website over the weekend and installed it > as a Multiserver JRun4 install. > > Thanks, > - Doug =========================================================================== Raymond Camden, Camden Media Email : ray@camdenfamily.com Blog : www.coldfusionjedi.com AOL IM : cfjedimaster Keep up to date with the community: http://www.coldfusionbloggers.org Doug Arthur wrote: > Thanks Ray, I'm using code compatible in CF6 & CF7. My question now is, why > would it not work in my installation and it would work in yours? Because you are connecting through IIS and IIS buffers too? Jochem Is the issue possibly IIS7 within Vista? And if so, does anyone know of a workaround? Thanks, Doug Doug Arthur wrote: > Thanks Ray, I'm using code compatible in CF6 & CF7. My question now is, why > would it not work in my installation and it would work in yours? Because you are connecting through IIS and IIS buffers too? Jochem Doug Arthur wrote: > Is the issue possibly IIS7 within Vista? Maybe. You are probably in the best position to test this theory: try it through the build in webserver and see if it works correctly. Jochem My solution for cfflush on CF8 with IIS: http://orangepips.instantspot.com/blog/index.cfm/2007/12/12/cfflush-Problem-and-Solution-on-CF8-with-IIS- I am also having issues with the cfflush tag using IIS. Unfortunately the environment I am in is pretty locked down and I cannot even use firefox to determine if the problem is IE. My biggest problem is that this link no longer works. Does anyone know what this solution was? > My solution for cfflush on CF8 with IIS: > > http://orangepips.instantspot.com/blog/index. > cfm/2007/12/12/cfflush-Problem-and-Solution-on-CF8-with-IIS- Wes, I remember this cfflush issue being discussed at the very first CF User Group meeting I ever attended, more than a decade ago. I do believe we were talking CF4.2 then or maybe it was CF5. The issue is not a coldfusion issue at all. IIS (or is it IE) doesnt render pages with only a tiny amount of data, so the solution is to add a whole bunch of characters (usually use white space, such as several hundred space characters) to increase the size of the buffer you're wanting to CFFLUSH until it's always bigger than the minimum size that IE will render. Cheers Mike Kear Windsor, NSW, Australia Adobe Certified Advanced ColdFusion Developer AFP Webworks http://afpwebworks.com ColdFusion 8, PHP, ASP, ASP.NET hosting from AUD$15/month ----- Excess quoted text cut - see Original Post for more ----- I apologize, I haven't followed every message in this thread, but I wanted to point that any type of HTTP compression like gzip will screw with cfflush. Compression is usually configured at the web server level (IIS, Apache). You need to look at your response headers that are coming back from the server. They will tell you if compression is being used. ~Brad ----- Excess quoted text cut - see Original Post for more ----- This link no longer works, does anyone know what this solution was supposed to be? > My solution for cfflush on CF8 with IIS: > > http://orangepips.instantspot.com/blog/index. > cfm/2007/12/12/cfflush-Problem-and-Solution-on-CF8-with-IIS- Copy and paste the link carefully. The page is working fine. ----- Excess quoted text cut - see Original Post for more ----- -- mxAjax / CFAjax docs and other useful articles: http://www.bifrost.com.au/blog/
|
Mailing Lists
|
Latest Fusion Authority Articles
|
||||||