"Demetrios C. Christopher" wrote:
>
> Hello all,
> due to some issues with long-running scripts and impatient users
> we decided to display some sort of message (either in the window
> or in a popup - better!) that would say "Chill out, don't refresh
> or double-click" etc, etc. I was trying to take advantage of
> $Response->{Buffer} and $Response->Flush() but apparently it does
> not work. Clearing and Flushing may work in the "end product"
The old $Response->Flush() functionality will be back in 2.11.
If you'd like my latest copy, I can send it to you, or you can
patch up ASP.pm yourself:
*** ASP.pm~ Mon Feb 26 19:40:09 2001
--- ASP.pm Wed Feb 28 18:43:43 2001
***************
*** 3392,3397 ****
--- 3392,3398 ----
# unless($self->{r}->connection->aborted) {
# OK to print random ouput for 200's & 300's
if(! defined $self->{Status} or ($self->{Status} >= 200 and $self->{Status} <
400)) {
+ local $| = 1;
$self->{r}->print($out);
}
# }
This change in mod_perl behavior really killed me.
Funny little thing, but at least its more perlish. :)
--Josh
_________________________________________________________________
Joshua Chamas Chamas Enterprises Inc.
NodeWorks >> free web link monitoring Huntington Beach, CA USA
http://www.nodeworks.com 1-714-625-4051