Re: Browsing while downloading?
| From: | adrian zaharia | Date: | Thu, 02 Dec 2004 15:32:49 +0000 |
| Subject: | Re: Browsing while downloading? | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-203349@lists.php.net to get a copy of this message | ||
Found the problem...
Just FYI, maybe can help in future.
I am "under" a session and didn't forced a session_write_close() before i
outputted the stream. Acording to php docs, the session file stays locked
until the end of the script or a session_write_close() is issued. So, the
other scripts were in fact waiting for the session file to be unlocked.
Anmyway, ... interesting problem :)
Adrian Zaharia
M. Sokolewicz wrote:
> Adrian Zaharia wrote:
>
>> Hello,
>>
>> I have this problem and maybe smbdy can give me a hint.
>>
>> I have a script which has to pack some server files into a tar created on
>> the fly and then output this archive to the browser via headers.
>>
>> All is grea, the download works BUT, i am speaking of big archives, over
>> 50M and i noticed that while i am downloading i cannot browse anymore. I
>> tried the operation also via a opened window and it is the same. If i try
>> to click on the link or smth the browser does nothing. In the moment the
>> download finishes, the browser follows that clicked link and resumes it's
>> activity.
>>
>> Any ideeas how can i keep browsing while dowloading?
>>
>> Thanks
>>
>> Adrian Zaharia
> get a different browser.
> This is a 100% browser issue where the browser allocated 100% available
> bandwidth for your download, and doesn't take in extra requests.
>
> Notice, this has *nothing* whatsoever to do with php though :)