On 7/9/2012 4:30 AM,
wrote:
> Ben, thanks for your prompt reply.
> 5.12.x is right .. my typo.
>
> And yes, I did exactly that when I saw that I am fighting a buffering issue - made a mini-script that does a bit of sleeping and printing in a loop, more is not needed - and posted here when I saw that the problem is exactly that and not some of my script logic.
>
> The old server prints a row every second.
> The new server waits 5 seconds then prints all:
>
> #!/usr/bin/perl
> use CGI qw/:standard/;
>
> select((select(STDOUT), $| = 1)[0]);
>
> print header, start_html(-title => 'test.pl page', -bgcolor => '#ffffff');
>
> print "<P>TEST BEGIN\n";
> print "<br>Going to sleep 5 seconds\n";
>
> sleep 1; print "<br>Slept 1 second\n";
> sleep 1; print "<br>Slept 1 more second, 2 seconds so far\n";
> sleep 1; print "<br>Slept 1 more second, 3 seconds so far\n";
> sleep 1; print "<br>Slept 1 more second, 4 seconds so far\n";
> sleep 1; print "<br>Slept 1 more second, 5 seconds so far\n";
>
> print "<p>TEST END<p><hr>\n";
>
> print end_html();
Install Fiddler2 on your PC and enable it under IE's Tool menu. This
will allow you to trace the http traffic. If I recall correctly, IIS7
recognizes the browser type and behaves differently. IIS5 does not
perform this browser check.
I do not remember if there is a solution - I was investigating a
different problem when my company was upgrading from IE6 to IE7.
--
Len