> Hello
> I trying to do something like this:
>
> [+ hello +]
> [-
> $req_rec->rflush;
> sleep 5;
> -]
> [+ hello again +]
>
> ... but it is not working. Does anybody know how to solve this problem ?
>
The point is that Embperl is first processing the whole page and outputing
it afterwards (so you are able to set http headers, generate error messages
etc.). So at the point where you call rflush, nothing has been send to the
browser at all. To change this set optEarlyHttpHedears in your httpd.conf
(with EMBPERL_OPTIONS). With this option set, Embperl send the output
immediately and your above code will work. (at least with Embperl 1.x. 2.0
doesn't support optEarlyHttpHedears yet)
Gerald
-------------------------------------------------------------
Gerald Richter ecos electronic communication services gmbh
Internetconnect * Webserver/-design/-datenbanken * Consulting
Post: Tulpenstrasse 5 D-55276 Dienheim b. Mainz
E-Mail: [EMAIL PROTECTED] Voice: +49 6133 925131
WWW: http://www.ecos.de Fax: +49 6133 925152
-------------------------------------------------------------
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]