Login or Sign up Help | Site Map
Connecting Tech Pros Worldwide

Multiple iframes in IE-7 and session cookie

Discussion started by: asdfghjklqwertyuiop (Newbie) on January 9th, 2007 01:57 PM
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.
Would you like to join this discussion?
Sign up for a free account, or Login (if you're already a member).
bartonc's Avatar
bartonc
Site Moderator
6,399 Posts
January 10th, 2007
01:55 AM
#2

Re: Multiple iframes in IE-7 and session cookie
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.

Reply
lcnit4's Avatar
lcnit4
Newbie
1 Posts
July 16th, 2008
11:10 AM
#3

Re: Multiple iframes in IE-7 and session cookie
Using PHP? add
Code: ( text )
  1. header('P3P: CP="ALL ADM DEV PSAi COM OUR OTRo STP IND ONL"');

To the page that should be displayed inside the iframe!

Reply
Reply
Not the answer you were looking for? Post your question . . .
183,969 Experts ready to help you find a solution.
Sign up for a free account, or Login (if you're already a member).

Latest Articles: Read & Comment
Top Miscellaneous Questions Contributors