Neil,

>I have a problem where I have a page say on www.xyz.com , this page
>contains
>an iframe which has loaded a site www.abc.com.
>
>Is there anyway I can reference the parent page from the iframe (and from
>within the www.abc.com pages) without the Permission Denied error due to JS
>Security Restrictions? Is there anyway I can allow/trust the domain to
>allow
>me to cover it all?

In IE you can use the document.domain to set up a trust between two pages:
http://msdn.microsoft.com/workshop/author/dhtml/reference/properties/domain.
asp

However, it will not let you talk to two sites from two completely different
suffixes. It allows abc.company.com to talk with xyz.company.com, but not
abc.com to talk with xyz.com.

About the only one I can think of to get around this would be to have site
abc.com reference some URL on xyz.com and then have a hidden frame on
xyz.com that looks to see if abc.com has sent any messages sent. 

You could use JS's Image() object to send a command back to XYZ and then
have XYZ continually pole for some message. This would be very slow and
inefficient though.

- Dan



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Find out how CFTicket can increase your company's customer support 
efficiency by 100%
http://www.houseoffusion.com/banners/view.cfm?bannerid=49

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:211463
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to