ICEfaces
  1. ICEfaces
  2. ICE-1053

iframe connection problem in IE6

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Critical Critical
    • Resolution: Won't Fix
    • Affects Version/s: 1.5.1
    • Fix Version/s: 1.6DR#4, 1.6
    • Component/s: Bridge
    • Labels:
      None
    • Environment:
      Operating System: Windows XP
      Platform: PC
    • Workaround Exists:
      Yes
    • Workaround Description:
      Hide
      When the iframe and the included web-application are served from different domains IE will block the web-application from setting any cookies ("third-party cookies" how they call them). An icon in IE's status bar will show the blocked cookies.
      This issue can be fixed changing the IE's privacy level (Tools>Intenet Options>Privacy>Accept All Cookies) or serve the iframe and the web-application from the same domain.\

      Another solution would be to have a P3P descriptor. See http://www.oreillynet.com/lpt/a/2766 .
      Show
      When the iframe and the included web-application are served from different domains IE will block the web-application from setting any cookies ("third-party cookies" how they call them). An icon in IE's status bar will show the blocked cookies. This issue can be fixed changing the IE's privacy level (Tools>Intenet Options>Privacy>Accept All Cookies) or serve the iframe and the web-application from the same domain.\ Another solution would be to have a P3P descriptor. See http://www.oreillynet.com/lpt/a/2766 .

      Description

      noted in the forum: http://www.icefaces.org/JForum/posts/list/2946.page

      ifaces apps aren't functioning correctly through iframes.

      "Hello everybody,

      first congrats to ice faces. We're using ADF Faces atm but some of the
      components are quite impressive, so I'll take a closer look the next few weeks
      ^_^ I love those pop-ups, really :-)

      I noticed an interesting glitch in ice faces that happens only in internet
      explorer and only if the ice faces site is displayed in an iframe.

      Create a html with the following content:
      Code:

       <html>
        <head>
        <title>
        IFrame Test
        </title>
        </head>
        <body>
        <a href="http://component-showcase.icefaces.org/component-showcase/"
      target="test">Show test</a><br>
        <a href="http://www.google.de" target="test">Google</a><br>
        <iframe src="http://www.icefaces.org" width="800" height="600" name="test">
        </iframe>
        </body>
       </html>
       


      If you open the file in a new internet explorer and click "Show test" the
      component suite showcase is displayed. Everyon any item results in the status
      monitor going active and then broken after about half a minute.
      I could solve this by clicking the other link and then the original one.
      Everything works fine then.
      I could reproduce this error on several machines, but only in internet explorer
      - no problem in firefox (of course?).

      Any ideas?

      Keep up the great work!

      Greetz,
      Mathias"

        Activity

        Hide
        Ted Goddard added a comment -

        Not sure what the root cause is, but being able to display ICEfaces applications within an iframe is important: it's one of the strategies we recommend for integrating with PHP or static web pages, for example.

        Show
        Ted Goddard added a comment - Not sure what the root cause is, but being able to display ICEfaces applications within an iframe is important: it's one of the strategies we recommend for integrating with PHP or static web pages, for example.
        Hide
        Mircea Toma added a comment -

        I commited a fix but I need somebody with a Windows machine to verify if the issue is gone.

        Show
        Mircea Toma added a comment - I commited a fix but I need somebody with a Windows machine to verify if the issue is gone.
        Hide
        Arran McCullough added a comment -

        Tested with IE7.
        Component Showcase shows up but when you click a link the monitor spins for a little bit then displays the warning icon then the error icon. Clicking a link in the Google area does work as it should.

        Show
        Arran McCullough added a comment - Tested with IE7. Component Showcase shows up but when you click a link the monitor spins for a little bit then displays the warning icon then the error icon. Clicking a link in the Google area does work as it should.
        Hide
        Ken Fyten added a comment -

        Still broken. Last test was using 1.6.0 beta.

        Show
        Ken Fyten added a comment - Still broken. Last test was using 1.6.0 beta.
        Hide
        Mircea Toma added a comment -

        When the iframe and the included web-application are served from different domains IE will block the web-application from setting any cookies ("third-party cookies" how they call them). An icon in IE's status bar will show the blocked cookies.
        This issue can be fixed changing the IE's privacy level (Tools>Intenet Options>Privacy>Accept All Cookies) or serve the iframe and the web-application from the same domain.

        Show
        Mircea Toma added a comment - When the iframe and the included web-application are served from different domains IE will block the web-application from setting any cookies ("third-party cookies" how they call them). An icon in IE's status bar will show the blocked cookies. This issue can be fixed changing the IE's privacy level (Tools>Intenet Options>Privacy>Accept All Cookies) or serve the iframe and the web-application from the same domain.
        Hide
        Mircea Toma added a comment -

        I guess another solution would be to have a P3P descriptor. See http://www.oreillynet.com/lpt/a/2766 .

        Show
        Mircea Toma added a comment - I guess another solution would be to have a P3P descriptor. See http://www.oreillynet.com/lpt/a/2766 .
        Hide
        Jacob Alvarez added a comment -

        A no-cookie mode could also solve the problem.

        Have you thinks about it ?

        This will be very useful for making icefaces-based web-widgets, i.e. iGoogle gadgets.

        Thanks,

        Show
        Jacob Alvarez added a comment - A no-cookie mode could also solve the problem. Have you thinks about it ? This will be very useful for making icefaces-based web-widgets, i.e. iGoogle gadgets. Thanks,

          People

          • Assignee:
            Unassigned
            Reporter:
            Philip Breau
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: