Welcome, Guest
  • Author Topic: Javascript cookie  (Read 1814 times)

    jai_jai

    • Server what's that
    • *
    • Posts: 22
      • View Profile
      • Email
    Javascript cookie
    « on: 09/25/05, 05:27 »
     :-\

    Hi,

    I'm having a problem in writing cookies.

    The page structure:
    A html page with iframe->calling another html page->this page has (in addition to images and text content)  another iframe which calls my flash html -> which calls up a js file and has my embedded flash content in it.

    The process:
    The user selects n number of options from the swf, and clicks a button. The button uses getURL to call the javascript function and writes the options selected into a persistent cookie. This cookie is read by the swf whenever it loads, and if no cookie found resets to default options.

    The whole thing works fine when tested locally. i.e., local server with all of the above, accessed from network, sets cookie and reads cookie. No probs.
    However the online version doesn't work in IE 6.0 :( but works fine in Firefox.

    Any idea what could be the problem here?

    Kind of desperate for some idea on whats going wrong. Do help

    Jai


    vesa kortelainen

    • Global Moderator
    • Systems Administrator
    • *****
    • Posts: 3450
      • View Profile
    Re: Javascript cookie
    « Reply #1 on: 09/26/05, 15:13 »
    are all those loaded_html_pages in same server?

    It can be that IE's security settings wont allow cookies to be written by iFrame/iFrame/iFrame...