> From: Nick Baker
>
> CF 4.5.1 and 5.0
>
> Any opinions on the use of CFFLUSH? From my understanding you
> have to deal with some tradeoff, e.g., it imposes several
> restrictions on the use of other tags and the method of
> client variable storage. The upside is not so clear, other
> than CFFLUSH help avoid time outs on slow Web sites?

As soon as you use CFFLUSH you can no longer use CFCOOKIE, CFLOCATION,
CFCONTENT or any of the CFHEAD type tags

But, it "pushes" the content generated so far to the browser

Advantages of this?
Say you have a long reporting page which will take a minute or so to run
(I know that's excessive, but it happens) - you can CFFLUSH the
generated content every part of a loop to display something, or some
_javascript_ to update a progress meter

It really depends on your needs whether you use it or not - I use it in
very few instances, but I NEVER use the INTERVAL parameter - it's more
trouble than it's worth most of the time
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

Reply via email to