Help | Site Map
Connecting Tech Pros Worldwide
Reply
 
LinkBack Thread Tools
  #1  
Old January 9th, 2007, 02:57 PM
Newbie
 
Join Date: Jan 2007
Posts: 1
Default 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.
Reply
  #2  
Old January 10th, 2007, 02:55 AM
bartonc's Avatar
Site Moderator
 
Join Date: Sep 2006
Location: Minden, Nevada, USA
Age: 45
Posts: 6,399
Default

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
  #3  
Old July 16th, 2008, 12:10 PM
Newbie
 
Join Date: Jul 2008
Posts: 1
Default

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
Reply

Bookmarks

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

What is Bytes?

We are a network of experts and professionals in IT and software development that help one another with answers to tough questions and share insights. Get the best answers to your questions from over network members.
Post your question now . . .
It's fast and it's free

Popular Articles