This is an open source sample of how to achieve safe cross doman scripting between frames in a mashup style application.
This is sample code to accompany this blog post :
In order to get this sample running, you'll need two dns names for your server (or entries in your hosts file) and two sites configuring in IIS to use these names and point to the two folders in the sample. The names you should configure are xsshost and
xsschild, then configure IIS with two sites - one for http://xsshost:8090 and http://xsschild:8091*
- You can use whatever you like, so long as they are seperate names/ports to simulate cross domain, but you will need to change the code to work with different names.