Raymond,


OK, that worked really well to get a "please stand by" style message while
processing,


Is there a clean way to clear that message before displaying the results?


Thanks for your help.


-Nate

-----Original Message-----
From: Raymond Camden [mailto:[EMAIL PROTECTED]
Sent: Tuesday, April 06, 2004 10:19 AM
To: CF-Talk
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