This week's book giveaway is in the OCPJP forum. We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates on-line! See this thread for details.
We have an application where we are opening an external site in an iFrame on click of an anchor link.(to be precise we are using jQuery colorbox). so the domain of our application is different from the domain of the URL that we are trying to open. The iFrame blocks the third party cookies and hence the correct intended URL is not opened. Instead the index page gets opened.
If we try to change the browser settings (Internet Options-> Privacy-> Advanced->override cookie settings-checking both the checkboxes), the correct URL opens up in iframe.
We need to handle this in java. Our code base is on java 1.4.
Is there a way we can override the cookie settings and allow third party cookies to be set in iFrame so that the correct URL is opened.
Thanks for the response. I need one more clarification regarding this. The URL we are trying to open up in iFrame,when, is directly opened up in IE browser window, works fine. The intended URL opens up correctly(even though the browser settings are set as default). The problem occurs when we try to open up the URL in iFrame in IE (not in FireFox).
Is there a particular reason why it happens in iFrame in IE and not in IE browser?can there be a work around for handling this issue?
subject: Third party cookie handling in iFrame in IE