[Catalyst] Force server to send data to browser....

Peter Edwards peter at dragonstaff.com
Wed Aug 30 07:30:10 CEST 2006


> Is there a way to send stuff as
> it's running, like forcing the server to send info every so often?
>   

Good question, not sure how you'd do it with Catalyst.
I've done this before to show output from a lengthy batch program, using
CGI.pm, sending the header then the start of the output followed by a
flushed space char every minute to stop the browser timing out. Like a "tail
-f" on a log file.

Regards, Peter





More information about the Catalyst mailing list