| Author |
How do I enable cookie for third party website in IE from java
|
dhiren sangani
Greenhorn
Joined: May 22, 2007
Posts: 18
|
|
Hi All,
I am using IFrame in jsp and trying to login into third party web site. It perfectly works for fire fox and chrome but it doesn't work for IE. It gives error like "Access is denied".
I have also tried to set response header as below :
response.setHeader("P3P", "CP='IDC DSP COR CURa ADMa OUR IND PHY ONL COM STA'");
But still it doesn't seems to work.
When I manually set privacy level to "Accept All Cookies" then it works in IE also but I want to do it through program.
Please let me know how can I do that.
Thanks in advance
|
 |
Eric Pascarello
author
Rancher
Joined: Nov 08, 2001
Posts: 15362
|
|
You can not change user's security settings with code.
Eric
|
 |
Bear Bibeault
Author and ninkuma
Marshal
Joined: Jan 10, 2002
Posts: 56529
|
|
Imagine the security nightmare if you could!
|
[Smart Questions] [JSP FAQ] [Books by Bear] [Bear's FrontMan] [About Bear]
|
 |
dhiren sangani
Greenhorn
Joined: May 22, 2007
Posts: 18
|
|
Thanks Eric and Bear for reply,
I agree that we can not change user security, but when I searched in google then I found many links in which they have mentioned that by setting P3P header we can resolve this issue in IE. I just want to read all content and do not want to modify anything on site. Is there any possible way to do it ? I mean can we only ready and display content ? Same thing is working in Firefox and Chrome. I just want to show third-party content.
|
 |
 |
|
|
subject: How do I enable cookie for third party website in IE from java
|
|
|