Hi Andreas,

you were right! Thanks for your answer!

I have set the cross domain to true:

this.rpc.setCrossDomain(false);

I set it to false and the data was send via POST :) !

I use qooxdoo since 0.6.3 and I`m really sure that cross domain hast to be
set to true to make an async call in older Versions. 

Do you know since which version it doesn`t has to be set anymore to true?

Thanks for the quick help

Philipp



Andreas Junghans wrote:
> 
> 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
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Send-async-rpc-via-POST--tp18606916p18607496.html
Sent from the qooxdoo-devel mailing list archive at Nabble.com.


-------------------------------------------------------------------------
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

Reply via email to