Cross domain restrictions and subdomains -


is there cross domain policy restriction subdomains?

if have application on paint.xxxx.com manipulating images image.xxxx.com, there cross domain problems?

i'm asking these questions, because i'm considering putting proxy on subdomain.

yes cross domain restriction applies subdomains.

the solution put

document.domain = "example.com" ; // whatever domain name is

in top of js file(s) both parent domain , child domain

google document.domain , cross site , there should better explanation i've had same issue , worked me.


Comments

Popular posts from this blog

.htaccess - First slash is removed after domain when entering a webpage in the browser -

Socket.connect doesn't throw exception in Android -

SPSS keyboard combination alters encoding -