Forum Moderators: open
I tried setting the domain of the page www.abc.com/index.jsp to 'xyz.com'. The domain of www.xyz.com/index.jsp is also set to 'xyz.com'. But I noticed that even though i explicitly try to set the domain on www.abc.com/index.jsp, it is not actually set and hence the 'Access denied' error.
Is there a workaround to get this work and remove the 'Access denied' error?
Try changing top.location.hash to required anchor in main page, this will upset your history ( back button ), also try top.location.replace() just changing hash part (avoids history problem).