I want that the browser show the output perl code in real
time to see the progress whithout a time out.
If I use [+ "The output" +] or [- print "The output" -] ,
the entire page is shown in one time ( when all is finished ) ie no real
time
If I use [- print STDOUT "The output" -] , the
text appears in real time but before the header and the html code
:
one line one line one line one line one line HTTP/1.1
200 OK Date: Fri, 28 Jan 2000 16:14:56 GMT Server: Apache/1.3.9 (Unix)
mod_perl/1.21 Content-Length: 8481
Keep-Alive: timeout=15, max=40 Connection: Keep-Alive Content-Type: text/html;
charset=iso-8859-1
the body html code
I tried to use optEarlyHttpHeader there's
no difference and I don't want to use it for all the page.
You
must set the optEarlyHttpHeader in your httpd.conf (maybe inside a
<location> block, so it's not used for all pages). Also to cause Embperl
to imediately send the output to the browser do a
[-
$dbgFlushOutput = 1 -]
before
your loop and a
[-
$dbgFlushOutput = 0 -]
after
it.
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 -------------------------------------------------------------
|