I apologize of this question has been answered before. Searching these forums is about as enjoyable as getting tested for a STD.
I am sending a query string post to saleforce to generate a new lead. It works great when it is used locally. However, from the web server it fails.
//Web 2 Lead
//Lead to source
+ your_name + "&"
+ first_name + "&"
+ last_name + "&"
+ email + "&"
+ "Campaign_ID=XXXXXXX", "POST");
If I copythe query string output and paste into a web browser it will create the new lead:
https://www.salesforce.com/servlet/servlet.WebToLead?encoding=UTF-8&XXX=MKTG_EPR_Enhanceme nts_Email_10.09&XXXX=eMarketing&oid=XXXXX&lead_source=Web&XXXXXX=TEST&first_name=FIRST_TES T&last_name=LAST_TESTfirstname.lastname@example.org&Campaign_ID=XXXXXXXeb&XXXXXX=TEST&first_name=FIRST_TEST&last_name=LAST_TESTemail@example.com&Campaign_ID=XXXXXXX
(As you can see I've XXX'd out the variables but I assure you they work as I mentioned)
Any help or a point in the right direction would be greatly appreciated!
Testing the swf locally produces the result that I want. Its only when I place in on the web server that it fails.
I have the same issue, it was working fine before until the recent upgrade of FlashPlayer 10. I believe Adobe have tightened the rules regarding cross-domain policy. http://www.adobe.com/devnet/flashplayer/articles/fplayer10_security_changes_02.html#head1
I have not figure out how to solve this problem. Please let me know if you a solutions already.