To prevent security issues, you simply need to ensure that
each frame (and the to level document) have the same document.domain.
This may seem a given to you, but it is not.

IT works something like this:
document.domain = "creative-workshop.com";
----- Original Message -----
From: "Michael Pemberton" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, November 01, 2001 11:56 PM
Subject: Re: [Dynapi-Help] 2 frames share information (#402)


> The best method of allow both windows to access the same set of variable
is
> to attach the variables to the parent document.  For example, "var1"
should
> be renamed to "parent.var1".  This may incounter security problems, just
> experiment and see what does / doesn't work.
>
> Matt Fair wrote:
>
> > I would like to have a dynlayer in one frame and the information of in
> > in another.  When I drag the layer, the information will relay to the
> > other frame.  Has anyone done anything like this?  How is javascript
> > handled in the browser, would I be able to just to call it as if it were
> > all on one page or are each page have there own memory of varibles?
> > Matt
> >
> > _______________________________________________
> > Dynapi-Help mailing list
> > [EMAIL PROTECTED]
> > https://lists.sourceforge.net/lists/listinfo/dynapi-help
>
> --
> Michael Pemberton
> [EMAIL PROTECTED]
> ICQ: 12107010
>
>
>
>
>
> _______________________________________________
> Dynapi-Help mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/dynapi-help
>


_______________________________________________
Dynapi-Help mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/dynapi-help

Reply via email to