Re: Streaming download to IE doesn't work

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, 2007-05-29 at 13:52 +0200, Jochem Maas wrote:

> Daniel Kasak wrote:
> > Hi all.
> 
> ....
> 
> > 
> > Who knows WTF is wrong and how I can work around it?
> 
> without getting into the holywar of download headers,
> here is one mans's take/solution:
> 
> http://richardlynch.blogspot.com/2006_06_01_archive.html
> 
> it should contain enough to help you out.
> 
> PS. you might recognize the name from the list
> PPS. if you have STFA you would have have found this already, this download
> problem comes up regularly.

Actually, that blog had absolutely nothing to do with my problem
( thanks for RTFP!). Not only that, but the recommendation that I
construct URLs:

http://address.com/script/thing=2/this=3/that=4/download.txt

is patently ridiculous. Anyway, for people who will stumble across this
bug in the future, check out:

http://terra.di.fct.unl.pt/docs/php/function.session-cache-limiter.php.htm

 ... in particular, adding:

header("Cache-control: private");
header("Pragma: public");

fixed things perfectly. Also note that things worked perfectly with
normal http access from the start; this is required for streaming
downloads to IE over *https*

--
Daniel Kasak
IT Developer
NUS Consulting Group
Level 5, 77 Pacific Highway
North Sydney, NSW, Australia 2060
T: (+61) 2 9922-7676 / F: (+61) 2 9922 7989
email: dkasak@xxxxxxxxxxxxxxxxxxxx
website: http://www.nusconsulting.com.au

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux