|
Mailing Lists
|
Home /
Groups /
ColdFusion Talk (CF-Talk)
cfflush in ColdFusion 8
Author: Brad Wood
Short Link: http://www.houseoffusion.com/groups/cf-talk/thread.cfm/threadid:53167#309896
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 -----
Author: Mike Kear
Short Link: http://www.houseoffusion.com/groups/cf-talk/thread.cfm/threadid:53167#309886
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 -----
Author: James Holmes
Short Link: http://www.houseoffusion.com/groups/cf-talk/thread.cfm/threadid:53167#309847
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/
Author: Wes Middendorff
Short Link: http://www.houseoffusion.com/groups/cf-talk/thread.cfm/threadid:53167#309846
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-
Author: Wes Middendorff
Short Link: http://www.houseoffusion.com/groups/cf-talk/thread.cfm/threadid:53167#309845
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-
Author: Matthew Lesko
Short Link: http://www.houseoffusion.com/groups/cf-talk/thread.cfm/threadid:53167#294594
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-
Author: Raymond Camden
Short Link: http://www.houseoffusion.com/groups/cf-talk/thread.cfm/threadid:53167#287367
Apache. :)
----- Excess quoted text cut - see Original Post for more -----
Author: Jochem van Dieten
Short Link: http://www.houseoffusion.com/groups/cf-talk/thread.cfm/threadid:53167#287365
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
Author: Doug Arthur
Short Link: http://www.houseoffusion.com/groups/cf-talk/thread.cfm/threadid:53167#287360
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
Author: Doug Arthur
Short Link: http://www.houseoffusion.com/groups/cf-talk/thread.cfm/threadid:53167#287336
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
Author: Jochem van Dieten
Short Link: http://www.houseoffusion.com/groups/cf-talk/thread.cfm/threadid:53167#287297
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
Author: Raymond Camden
Short Link: http://www.houseoffusion.com/groups/cf-talk/thread.cfm/threadid:53167#287295
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
Author: Doug Arthur
Short Link: http://www.houseoffusion.com/groups/cf-talk/thread.cfm/threadid:53167#287294
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 -----
Author: Raymond Camden
Short Link: http://www.houseoffusion.com/groups/cf-talk/thread.cfm/threadid:53167#287266
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 -----
Author: Doug Arthur
Short Link: http://www.houseoffusion.com/groups/cf-talk/thread.cfm/threadid:53167#287265
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.
>
>
|
May 24, 2012
|
Latest Fusion Authority Articles
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||