I need a solution to a general problem that i have.
I have a site with domain called foo.com and a cross domain called foo_goo.com
In foo.com there is a form with several fields: userName, firstName, lastName, email…
When the user press the submit button (in the form) i need to make a server validation on this fields, the server who make the validation is in the cross domain (foo_goo.com).
Any solution to this problem? (ajax, json, servlet…)
What is the prefer why to do it?
I would recommend you a php, proxy, but there are other solutions like JSONP or a feature in HTML5 that might help you: Cross Domain Solutions Full client
Main Options I found interesting: