Cross Domain Message Passing using Iframe

Submitted by Mabaloo » Due to security restrictions of a web browser, passing messages in a cross domain environment is not that straightforward as it is in a uni-domain environment. A browser will not let any AJAX requests to pass through between two different domains, similarly two frames, open on two different domains cannot communicate with each other, and cannot access the DOM, or the JavaScript or the Cookies. How then can you pass information between two different domains ?
Rating: 3.0/5 | 115 clicks | 0 comments | 0 saves | share | report

Share this tutorial

There are a number of different ways to share this tutorial with others. Below are the links to many different social networking and social bookmarking sites- just click on your favorite service and most of the work should be done for you. Other methods of sharing tutorials will come in the future.

digg it · save to del.icio.us · share on facebook · reddit · furl · blinklist · ma.gnolia · pixel groovy