I know iframes are not that great because of accessibility issues etc but they are a great solution when clients want to white label applications or information from other Websites which in case is what I had to do on this occasion and what triggered this post.
To make a long story short, I have a client that wanted to offer the reservation system I created for them to other websites who in turn didn’t want to have clients go away from their own websites or see my client’s logo and contact information. My client’s system was tied in with their internal Database and server and for security everything needed to be ran on their servers without any external connections so the easiest way was to create a stripped down version of the reservation process, in other words just the forms, which could be placed on an iframe.
Everything worked perfectly on Firefox of course but when we go to IE, we get an error because the sessions are not set correctly so the whole system fails.
So here I am, once again trying to figure out a workaround to have something as simple as a form, that uses PHP sessions set on an iframe, work on IE the way it flawlessly work on Firefox. Seriously people, we should sue Microsoft for damages in all the time and effort wasted getting our websites to work on their crappy monopolized browsers.
* Update
Apparently by adding this: header(’P3P: CP=”CAO PSA OUR”‘); to the page involved in setting the sessions will make IE work correctly. Just thought I add this for everybody that’s having the same problem,