Forum Moderators: open

Message Too Old, No Replies

3rd party cookie blocking in Frames - solutions?

3rd party cookie blocking in Frames - solutions?

         

andytwiz

1:39 pm on Oct 19, 2007 (gmt 0)

10+ Year Member



Hi all,

I'm trying to include third party websites in frames. I need to do this as I need to include my information on the visitors screen how to use these third party websites.

Third party cookies are being blocked in IE from these third party websites as they do not have P3P policies as outlined:

[oreillynet.com...]

I cannot modify these third party sites or ask them to install P3P and I need the third party cookies to be accepted and my information to be displayed on the same screen for visitors.

The only other solution I can think of is using popup windows and javascript to resize the third party window in its own browser window and my instructions into another browser window resized to appear above the other browser window.
But won't internet explorer (and Firefox) block these windows as popups?

Can anyone else think of a better solution?

Thanks

HOTmike

3:25 am on Oct 30, 2007 (gmt 0)

10+ Year Member



You are up against the "Same Origin" policy, imposed by all major browsers; a global headache for AJAX coders, that one.
Even if you do get the cookie accepted in a new window, tab, or frame, you will be prevented from touching it. You can display a page from the remote domain in an iframe (even an iframe in a div, styled with positinoing and z-index and all to make it look like it's yours), but that's about all you can do (I've persoanlly tried just about every trick in the book, and quite a few not in it)

There are a couple or work-arounds, but only if you control the foreign sites.

Sorry to be the bearer of bad news on this one. If anyone would like to prove me wrong, please do so. I'll be happy to apologise and learn something new.