Hi
------------------------------------------------------------------------------------
I have a page which looks like this :
<HTML><HEAD></HEAD>
<BODY>
Some html code
[- while ( $condition ) {
perl code who send informations on the
output
} -]
Some html code
</BODY>
</HTML>
-------------------------------------------------------------
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.
How should I do ?
Thanks
Philippe GOBIN
France Telecom Hosting Direction des Développements Applicatifs Tel : 01 46 12 68 05 Fax : 01.46.12.67.00 Hotline : 0810 777 000 Site internet : http://www.fth.net Les offres de FTH : http://extranet.fth.net |
- RE: Output in real time [Emberl 1.2.0] Philippe Gobin
- RE: Output in real time [Emberl 1.2.0] Gerald Richter