473,386 Members | 1,817 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,386 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 7480
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: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
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
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
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
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...

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.