Hi Philipp, Am 23.07.2008 um 11:22 schrieb Philipp Wabinski:
> is it possible to send a async rpc call from the frontend to the > backend via > POST? > > When I echo the $_SERVER["REQUEST_METHOD"] in the php backend, it > always > returns "GET". > > Is there a setting or sometjhing like that to use POST? You're probably making cross-domain requests (i.e. your PHP backend is not in the same domain as the page from which the request is made). This is also the case when you load your page directly from the filesystem (via file:// url). In the cross-domain case, it's not possible to use POST requests. You either have to use GET or make sure that your HTML page and the RPC server are in the same domain (and set the crossDomain property to false in your Rpc object). Regards, Andreas ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ qooxdoo-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
