• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Third party cookie handling in iFrame in IE

 
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Sheriff
Posts: 67748
173
Mac Mac OS X IntelliJ IDE jQuery TypeScript Java iOS
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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?
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic