Thanks for the suggestion, I have checked document.domain and it
consistently reflects the correct (i.e. base domain) value. I have
gone to the extent of seting this very early in the process before any
other javascript has loaded and the problem persists.

On Nov 5, 7:43 am, ricardobeat <[EMAIL PROTECTED]> wrote:
> It should. Check your document.domain after all scripts have run to
> see if it's really changed.
>
> On Nov 4, 8:07 pm, kudu <[EMAIL PROTECTED]> wrote:
>
> > I am attempting to call page through ajax accross different sites
> > within the same doman.
> > The error displayed is: Access to restricted URI denied" code: "1012"
> > I have set  document.domain to reflect the shared domain
>
> > i.e.
> > calling foo.baz.com/myscript.php
> > from bar.baz.com
> > having set document.domain = "baz.com"
>
> > My understanding is that setting document.domain should open up the
> > same origin policy to allow calls between sub-domains within the same
> > base domain.

Reply via email to