i am trying to use xmlHttp.open
while opening page A from a div in page B
i am using .net 2005 and my sites are on the different domains at server
using the above function causes "permission denied" error
but when page A is on local host it works fine...
i call the function only with 3 parameters:
xmlHttp.open("GET", url ,true)
without username & password (i tried that too ofcourse)
can anyone tell me what's the problem?
thanx
wb
quote:
Originally posted by wild_bunch
hi all
i am trying to use xmlHttp.open
while opening page A from a div in page B
i am using .net 2005 and my sites are on the different domains at server
using the above function causes "permission denied" error
but when page A is on local host it works fine...
i call the function only with 3 parameters:
xmlHttp.open("GET", url ,true)
without username & password (i tried that too ofcourse)
can anyone tell me what's the problem?
thanx
wb
my mistake its opening page B from a div in page A
XmlHttpRequest can only open sites in the same domain as the source of
the calling page.
if you need to call another domain, you will need to put a proxy page on
the calling domain.
-- bruce (sqlwork.com)
wild_bunch wrote:
> hi all
> i am trying to use xmlHttp.open
> while opening page A from a div in page B
> i am using .net 2005 and my sites are on the different domains at
> server
> using the above function causes "permission denied" error
> but when page A is on local host it works fine...
> i call the function only with 3 parameters:
> xmlHttp.open("GET", url ,true)
> without username & password (i tried that too ofcourse)
> can anyone tell me what's the problem?
> thanx
> wb
>
> --
> wild_bunch
> ---
> Posted via http://www.codecomments.com
> ---
>
quote:
Originally posted by bruce barker
XmlHttpRequest can only open sites in the same domain as the source of
the calling page.
if you need to call another domain, you will need to put a proxy page on
the calling domain.
-- bruce (sqlwork.com)
wild_bunch wrote:
> hi all
> i am trying to use xmlHttp.open
> while opening page A from a div in page B
> i am using .net 2005 and my sites are on the different domains at
> server
> using the above function causes "permission denied" error
> but when page A is on local host it works fine...
> i call the function only with 3 parameters:
> xmlHttp.open("GET", url ,true)
> without username & password (i tried that too ofcourse)
> can anyone tell me what's the problem?
> thanx
> wb
>
> --
> wild_bunch
> ---
> Posted via http://www.codecomments.com
> ---
>
i open another page on the same domain as A
but i still can't reach permission to change a from it although they are on
the same domain...
did i got the wrong idea from what you tried to say to me?
quote:
Originally posted by wild_bunch
i open another page on the same domain as A
but i still can't reach permission to change a from it although they are on
the same domain...
did i got the wrong idea from what you tried to say to me?
oh and by the way i have changed the permissions to max on both sites
also site A must be client side only!
thanx
0 comments:
Post a Comment