Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Need to Send Data to a different Domain

Status
Not open for further replies.

okiiyama

IS-IT--Management
Jan 3, 2003
269
US
is where the flash file is located.
is our coldfusion server.

I need to pass data from the flash file to a page on the coldfusion server. I do not need to pass anything back to the flash file. I've tried .sendAndLoad(), but no luck. Besides hosting the flash file and cfm page together, is there a different method/function I could use to send the data to the coldfusion page?


Thanks.
 
Thank you.

...But, I dont think I can get this to work. I've tried putting the following "crossdomain.xml" in the root directory of our coldfusion server, and also added it to the directory of the page I'm trying to send data to.
Code:
<?xml version="1.0"?>
<!DOCTYPE cross-domain-policy SYSTEM "[URL unfurl="true"]http://www.macromedia.com/xml/dtds/cross-domain-policy.dtd">[/URL]
<cross-domain-policy>
<allow-access-from domain="*.test1.com" secure="false" />
</cross-domain-policy>
The data is being sent from http to http (not https). Is there something wrong with my xml code?
test1.com has the .swf file
test2.com has the coldfusion page
 
update...

My bad... The domain the swf file is viewed on is not the domain the swf us stored on. Stupid techicalities. I have it working now.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top