House of Fusion
Home of the ColdFusion Community
Hostmysite Dedicated Hosting

Search cf-talk

September 06, 2008

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

Subscribe Now
Fusion Authority Quarterly Update - ColdFusion 8 Special Edition

For ColdFusion hosting try HostMySite.com.
Search over 2,500 ColdFusion resources here  >>>      
Home /  Groups /  ColdFusion Talk (CF-Talk)

cfflush in ColdFusion 8

  << Previous Post |  RSS |  Sort Oldest First |  Sort Latest First |  Subscribe to this Group Next >> 
Top  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
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. > >

Top  |   Parent  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
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. ----- Excess quoted text cut - see Original Post for more -----

Top  |   Parent  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
Doug Arthur
08/28/2007 10:00 AM

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

Top  |   Parent  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
Raymond Camden
08/28/2007 10:10 AM

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

Top  |   Parent  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
Doug Arthur
08/29/2007 01:09 AM

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

Top  |   Parent  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Top  |   Parent  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
Jochem van Dieten
08/28/2007 10:34 AM

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

Top  |   Parent  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
Doug Arthur
08/28/2007 04:28 PM

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

Top  |   Parent  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
Jochem van Dieten
08/29/2007 03:46 AM

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

Top  |   Parent  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Top  |   Parent  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
Wes Middendorff
07/28/2008 10:26 PM

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-

Top  |   Parent  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
Mike Kear
07/29/2008 03:08 PM

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

Top  |   Parent  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
Brad Wood
07/29/2008 03:49 PM

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

Top  |   Parent  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
Wes Middendorff
07/28/2008 10:27 PM

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-

Top  |   Parent  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
James Holmes
07/28/2008 10:38 PM

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/


<< Previous Thread Today's Threads Next Thread >>

Mailing Lists