I'm building a session-enabled application for a client. Works beautifully in Firefox and Opera, and even on IE when being tested on my local server. But, when viewing it on the live production server in Internet Explorer 6, clicking on any link will bring up a blank page. You cannot view the source of this blank page. When you refresh the page, the page you originally tried accessing loads fine.
This bug existed all the way back to IE5, and I'm reading that it still does in IE7. I've read that it is because the Content-Length is not equal to the size of the file(s) returned by the server, but I can't find anything that works, including removing all <script> tags.
I'm going to find the apes that developed this virus and chop off their mouse-hands. Anyone kind enough to help is in for a stockpile of pillaged bananas.
IE6 returns blank page when clicking links--works fine in FF
Moderator: General Moderators
- aaronhall
- DevNet Resident
- Posts: 1040
- Joined: Tue Aug 13, 2002 5:10 pm
- Location: Back in Phoenix, missing the microbrews
- Contact:
Thanks for the response, feyd. I don't want to post the link to the app in the interest of my client's privacy. The only differences between the two is that the file size for the one that works is "Not Available" according to IE, and for the one that doesn't work, the size is available.
I wonder if there is a way to block the content-length header from PHP.
I wonder if there is a way to block the content-length header from PHP.
- aaronhall
- DevNet Resident
- Posts: 1040
- Joined: Tue Aug 13, 2002 5:10 pm
- Location: Back in Phoenix, missing the microbrews
- Contact:
It's working now. Fixed it by defining the charset in the header:
This was already defined in a META tag. I still can't explain why it was working on my local server and not on the live server. Anyway, I'm off to Seattle with my bull whip. I'm gunna hunt me some Bill Gates, Indiana Jones-style.
Code: Select all
header("Content-Type: text/html; charset=UTF-8");