Hi,
>
> I am returning a rather lengthy result of a database query and I want to
> unbuffer the page so the results start returning before the entire page is
> generated. Do I use optEarlyHttpHeader?
>

Yes

> I am currently using the CGI script method embpcgi.pl to invoke
> embperl. How
> do I temporarily set the unbuffering for just this one page?
>

optEarlyHttpHeader must be set before the script starts, i.e. via SetEnv
EMBPERL_OPTIONS xxx, but Apache let you do this only for the whole (virtual)
host.

So what I would do is to copy embpcgi.pl to another name and put a

$ENV{EMBPERL_OPTIONS} |= 64 ;

at the top of the script.

Hope this helps

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 925151
WWW:        http://www.ecos.de      Fax:      +49 6133 925152
-------------------------------------------------------------


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to