Re: Re: HTTP headers, IE and downloading
| From: | Marek Kilimajer | Date: | Tue, 23 Dec 2003 01:59:47 +0000 |
| Subject: | Re: Re: HTTP headers, IE and downloading | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-173194@lists.php.net to get a copy of this message | ||
Did you try session_cache_limiter('private_no_expire')?
Andreas Magnusson wrote:
Thanks for your reply!Have a look at: http://pear.php.net/package/HTTP_DownloadI looked at it and it's hard to see what it does differently from what I do...And the first comment of: http://www.php.net/manual/en/function.session-cache-limiter.phpThanks, I've read that and I'm not using output compression.Perhaps you should not use ouput-compression, and look at the headers generated by PHP What headers are sent? Do you use sessions?I use sessions, and I've tried to send the same headers as the webserver sends if I download a file directly (rather than through PHP). It doesn't work... Maybe I should just create a temporary file and relocate the browser to it in case the browser is IE...you can see this using Mozilla + Live Headers, Ethereal, http://schroepl.net/cgi-bin/http_trace.pl ...Thanks, I've written my own HTTP header tracer in C++, but it hasn't been able to help me since the headers looks good to me... /Andreas