Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Third party cookie handling in iFrame in IE

 
AditiDas Das
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

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.

Any help will be great.

Aditi
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64970
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
No. What good would such security measures be if you could just easily override them? And no, you cannot change the browser settings either.

You'll have to adjust your approach to work within the security rules.
 
AditiDas Das
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic