Connecting Tech Pros Worldwide Forums | Help | Site Map

Multiple iframes in IE-7 and session cookie

Newbie
 
Join Date: Jan 2007
Posts: 1
#1: Jan 9 '07
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.

bartonc's Avatar
Moderator
 
Join Date: Sep 2006
Location: Minden, Nevada, USA
Posts: 6,400
#2: Jan 10 '07

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.
Newbie
 
Join Date: Jul 2008
Posts: 1
#3: Jul 16 '08

re: Multiple iframes in IE-7 and session cookie


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!
Reply