It's also important to note that cfflush doesn't like to be within an opening and closing custom tag.

- Calvin
  ----- Original Message -----
  From: Raymond Camden
  To: CF-Talk
  Sent: Tuesday, April 06, 2004 11:19 AM
  Subject: RE: Show status during long request

  >
  > I think I need to use cfflush, but if anybody has any
  > pointers on how to accomplish this I would be very appreciative.

  It is actually pretty simple. Just use <cfflush>. There is one thing to
  worry about. In IE, the browser "helps" by not displaying content until it
  gets "enough" content. Let's all pause for a minute to thank MS and it's
  infinite wisdom. Anyway, sometimes you have to push IE to force it to
  display something. So, I would use code like this:

  Please stand by while we do the foo.
  <cfoutput>#repeatString(" ",250)#</cfoutput>
  <cfflush>

  The repeatString function just outputs a big block of white space that the
  browser will display as _one_ space. Normally folks have HTML and other bits
  already output so this hack isn't needed.

  Also, note that you can't use tags like cfcontent, cfcookie, cfheader, etc,
  after using cfflush.
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

Reply via email to