473,406 Members | 2,369 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,406 software developers and data experts.

Multiple iframes in IE-7 and session cookie

Hi,

I have been stucked with an issue related to Multiple iframes in IE-7 and session cookie since last couple of days. It will be highly appreciated if any one can provide me a solution for it. Here is the details of the problem, i am facing-

I have two iFrames on one of my JSP pages. In one iFrame, i am processing some api logics and then it opens some flash content from my external Content server using parent.<iframe>.location.href=URL;

It is working fine in IE-6. But when the site gets accessed using IE-7, the flash content gets opened in a new window.

I found through some online refferences that its a IE-7 bug that it work in this manner when using multiple iFrames.

Now I also tried to remove one iFrame and tried to handle everything in a single iFrame. In this case the content gets opened in the iFrame without any trouble. but when it tries to open any other page in the same iFrame again it prompts an alert saying "Attempt to set cookie <somecookiename> failed. Please enable cookie. This behaviour can be seen in both IE-6 and IE-7.

Please help!!!
Thanks,
Manish.
Jan 9 '07 #1
3 7482
bartonc
6,596 Expert 4TB
Perhaps this can be solved with Tools: Internet Options: General tab: Tabbed Browsing Settings (which you get to from the Tabs: Settings button). You may be able to play with these settings in order to make it work.
Jan 10 '07 #2
lcnit4
1
Using PHP? add
[PHP]header('P3P: CP="ALL ADM DEV PSAi COM OUR OTRo STP IND ONL"');[/PHP]
To the page that should be displayed inside the iframe!
Jul 16 '08 #3
AITpro
1
Yep I'm having the same issue with multiple Iframe cookies being accepted in IE. I'll post the answer here when i figure it out. I couldn't help but add some clarification to the comment Icnit4 left. If you can't access or edit the page you are displaying in the iframe (ie 3rd party store or not your website) then you would put that PHP header code in your iframe template page itself at the very top of the page.
Jan 22 '10 #4

Sign in to post your reply or Sign up for a free account.

Similar topics

10
by: maxim vexler | last post by:
I'm reading a lot of talks lately about the term iFrame and with your permission would like to ask a few question about that : - what is iFrame, i mean what is it good for ? - does all the...
3
by: GQ | last post by:
We have a Web page that at load time will execute and build: a DHTML Menu/Data Driven, an Iframe with Detail Data, an Iframe to display Progress Information and another iframe with totals...
1
by: Steve P | last post by:
I got IFrames which overlap other (I)Frames to be transparent (except for actual content) on Mozilla and Netscape, but not on IE. I'm currently using style="background:transparent;" to accomplish...
4
by: Howard Jess | last post by:
In a javascript-heavy page, an iframe is created to hold information from a secondary server CGI process, and the resulting data (in the iframe) is used to rewrite some content in the main page. To...
2
by: Chad McCune | last post by:
I'm developing a portal for our intranet where multiple pages are being shown inside several iframes on a single page. The problem i've ran into, is that it seems as if IIS6/ASP.Net serializes...
2
by: Guadala Harry | last post by:
1. Are IFrames supported only in uplevel versions of IE? If not IE exclusively, what browsers support IFrames? 2. Are IFrames going to be supported in the future - as far as anyone knows - or...
7
by: Oleg | last post by:
I have a web form let's say 'YYZ.aspx'. It has an iframe in it. When it loads it shows progress bar in IE this way: loading for page then again loading for page in iframe. This part is fine....
4
by: Alex D. | last post by:
Hi guys. I have two nestes IFRAMES in one of my pages. The main page has an Iframe that points to an aspx page, this page has another Iframe that points to a regular html file. My problem is when...
11
by: Kent Feiler | last post by:
One thing I like about frames is that they're a good place to stow Javascript. Javascript that I'd like to be around while the visible content of the screen changes goes in the frame declaration...
1
by: avi.craigslist | last post by:
Hello, I have a webpage I am working on (http://www.hagitreem.com, then click on gallery, then the first set of two rings on the top left) and am trying to get multiple Iframes to work. ...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.