• 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
  • Ron McLeod
  • Paul Clapham
  • Devaka Cooray
  • Tim Cooke
Sheriffs:
  • Rob Spoor
  • Liutauras Vilda
  • paul wheaton
Saloon Keepers:
  • Tim Holloway
  • Tim Moores
  • Mikalai Zaikin
  • Carey Brown
  • Piet Souris
Bartenders:
  • Stephan van Hulst

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: 67750
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?
 
There’s no place like 127.0.0.1. But I'll always remember this tiny ad:
Gift giving made easy with the permaculture playing cards
https://coderanch.com/t/777758/Gift-giving-easy-permaculture-playing
reply
    Bookmark Topic Watch Topic
  • New Topic