|
Posted by "Ron Rudman" on 09/27/72 11:35
That's the culprit all right. And worse, it doesn't seem to be an arbitrary
browser setting but an RFC convention for HTTP 1.1 - 2 connection limit to
any server. According to Microsoft, changing it for IE even requires a
registry hack.
Thanks very much to all who contributed to this, and above all, my apologies
to PHP!
""Albert"" <albert@fastworx.com> wrote in message
news:014b01c607b6$cebb46e0$0464a8c0@AVDRSA...
>> On 12/22/05, Ron Rudman <ron@helphosts.com> wrote:
>>
>>>I've got this down to a bare bones test but am still stumped. Can anyone
>>>explain why I get the behavior I do?
>>>
>>>I have a frameset with 3 frames:
>>><html>
>>><head><title>testing</title></head>
>>><frameset rows='100,100,*'>
>>> <frame src='test1.php'></frame>
>>> <frame src='test2.php'></frame>
>>> <frame src='test3.php'></frame>
>>></frameset>
>>></html>
>>>
>>>test1.php and test2.php are both simply: <? sleep(5); ?>
>>>test3.php is simply: <? echo "This is some content"; ?>
>
> I tested this in both IE6 (6.0.2900.2180.xpsp.0503101-1521 to be exact)
> and
> Mozilla Firefox 1.0.6 on Windows XP SP2 running Apache 1.33 with PHP 4.3.9
> on the same machine.
>
> In IE the content of test3.php is displayed immediately and 5 seconds
> later
> the content of test1.php and test2.php (I've added an echo after the
> sleep(5); to see what happens.
>
> In Mozilla it takes 5 seconds to display test3.php. When I put that frame
> at
> the top it displays immediately. If I put it in the middle it displays
> immediately.
>
> What I do remember is that when I download multiple files (using IE or
> Mozilla on WinXP) from the same server I can only do two downloads at a
> time. I don't know if this is an OS setting. I did found a setting for IE
> and changed that value to 5 so now I can download up to 5 files from the
> same server at the same time. Don't know where to change it in Mozilla.
>
> It therefore seems that the browser makes a connection to the server for
> the
> first page and starts downloading it. At the same time it makes a
> connection
> to the server for the second page and starts downloading it. After one of
> these two have downloaded it start downloading the third page.
>
> If you change the setting in the browser (like I did with IE) you can
> download up to that number of pages at the same time.
>
> It is therefore not an issue with PHP but with the browser.
>
> HTH
>
> Albert
>
> (PS List replies only please!)
>
> --
> No virus found in this outgoing message.
> Checked by AVG Free Edition.
> Version: 7.1.371 / Virus Database: 267.14.5/212 - Release Date: 2005/12/23
>
Navigation:
[Reply to this message]
|