You are here: Re: Forced download issue with IE6 « PHP Programming Language « IT news, forums, messages
Re: Forced download issue with IE6

Posted by s a n j a y on 07/17/06 00:51

Simon Rigby wrote:
> Thanks for the pointer Jerry.
>
> Simon
>
> Jerry Stuckle wrote:
>> Simon Rigby wrote:
>>> Ah right, yes I understand. I was under the impression that using
>>> anything that wouldnt be recognised by the browser was part of
>>> "forcing" the download. I get it!
>>>
>>> Does anyone know why this is nt working in IE6.
>>>
>>> I have cut down the code to just apply the content disposition header.
>>> Still workin Firefox but no joy in IE.
>>>
>>> Simon
>>>
>> Probably because IE is ignoring the headers and doing what it wants -
>> it's notorious for that.
>>
>> At this point, you'll probably get better responses in alt.html. This
>> doesn't look like anything PHP is doing.
>>
>> --
>> ==================
>> Remove the "x" from my email address
>> Jerry Stuckle
>> JDS Computer Training Corp.
>> jstucklex@attglobal.net
>> ==================
>

This happened to me once while developing a J2EE application, but I
think it will apply here as well.

Try changing value for "expires". You can try making it something like
30 minutes to start with and then if that works, lower the value to few
seconds.

What IE does, in my opinion, is that it downloads the file first to disk
cache before it opens it. But as soon as download is finished, it
realizes that the content is supposed to be expire in 0 seconds, so it
doesn't display anything.

If I am correct, it used to give file not found error in older versions.
Try it and let me know. I am curious as well.

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация