View Single Post
Nutrox's Avatar Nutrox Nutrox is offline Super Moderator 17 Creative Assets 2008-11-11 #2 Old  
I ran into a similar problem once when generating gzip compressed web pages, IE6 choked on them. I don't have the source code at hand at the moment, and I'm not sure this will help in your situation, but as far as I can remember I had to "empty" the Pragma and Cache-Control headers (this actually solves a lot of other IE/cache/session related problems).

In PHP the headers are emptied like this:

Code:
header( "Pragma: ", true );
header( "Cache-Control: ", true );
The boolean value is telling PHP to replace any Pragma and Cache-Control headers that may have already been set (this tends to happen with sessions and cookies etc, and possibly on some servers that serve GZIP compressed content). You also need to set the Content-Encoding and Content-Transfer-Encoding headers to "binary" and "gzip" respectively I believe.

However, if you are using AS3 you should be able to load the XML file using a Loader (dataFormat set to binary) and decompress it once it has been loaded, you avoid IE6's stupidity completely that way.

Reply With Quote