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 Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Can anyone tell me why Flash can't

Status
Not open for further replies.

krosshair

Programmer
Feb 28, 2003
34
GB
Can anyone tell me why Flash can't send variables to a URL outside of the domain it is hosted on and if there is a workaround solution. Here is my code that talks to a Cold Fusion server on another domain.

on (press) {
loadVariables(" "_root", "POST");
}
on (release) {
gotoAndStop("thanks");
}


I am trying to process the form on a cold fusion enabled server (different URL) - the server my site is hosted on is not cold fusion enabled.

Any help once again appreciated!!!
 
It's a security measure. You could work around it by having a script within the same domain which forwards the request to the script on the other server.
 
Can you give me an example of the code I woul need to forward it?

thanks!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top