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