cross domain access in iframe from parent to child

Posted by Aparna on Stack Overflow See other posts from Stack Overflow or by Aparna
Published on 2010-03-09T06:44:03Z Indexed on 2010/03/09 6:51 UTC
Read the original article Hit count: 378

Filed under:
|
|
|
|

Hi,

Could someone please help me with this- I've 2 applications AAA and BBB. The homepage of AAA contains an iFrame which displays the application BBB. When I login to AAA, the same login details should be used to login to BBB(single signon) and on pageload of the homepage of AAA, homepage of BBB should also be loaded in the iFrame. I tried to use javascript to access the form elements of login page of BBB to enter the login data and submit. But the browser gives me a 'Access is denied' error. I did a little reading and came to know that cross- domain communication is not allowed by the browser. Could someone tell me how i can go about achieving this?

© Stack Overflow or respective owner

Related posts about cross

Related posts about domain