Programming, Technical
No Comments This week’s Internet Explorer frustrations
Hello everybody, been a while, I have been in the trenches of the online world battling one daunting bug after another. this week’s bug fight has elicited me blogging again after several weeks. This week I am reminded again why I rarely use IE for any kind of online experience, except looking for Javascript errors and testing for absurd errors.
First it was an auto image upload script that I created last week, only to discover early this week that users uploading jpeg images via Internet Explorer are not able to view uploaded images (every other browser I tested was working well), and after several back and forth, troubleshooting here and there, I finally stumbled upon an article that explains that IE represents jpeg images with image/pjpeg instead of the accepted image/jpeg image type representation, I nearly lost my head in that one.
To add to this week’s bad experiences with Internet Explorer, I have a WordPress 3 multi-site that I integrated into an existing website, such that users can automatically be logged into WordPress from their account on the other website without having to login a second time.
I implemented a solution that works on Chrome, Firefox, Opera but not in Internet Explorer, I had to do two days of digging to discover the all important “P3P Privacy Policy” that assures Microsoft Internet Explorer that it is okay to allow a third party cookie. And eventually this line of code in my php application before creating the cookies solved the persistent problem
header(‘P3P:CP=”IDC DSP COR ADM DEVi TAIi PSA PSD IVAi IVDi CONi HIS OUR IND CNT”‘);
http://viralpatel.net/blogs/2008/12/how-to-set-third-party-cookies-with-iframe.html
Debugging isn’t an easy job, and Microsoft never seems to make it easier. Sorry got to go, I have a mild headache, need to rest away some of this IE-induced stress. TTYL
