On Mon, Oct 17, 2011 at 3:55 PM, Michael Van Canneyt
<mich...@freepascal.org> wrote:
> As far as I know, this will always be empty, for the simple reason that the
> request is executed asynchronously. You must attach a callback which is
> executed once the request is ready, and read ResponseText after that.

Ah, no, my problem is not in the JavaScript ... my syncronous request
works fine in Opera at least. My problem is in fpweb:

procedure TwebLobbyServer.DataModuleRequest(Sender: TObject;
  ARequest: TRequest; AResponse: TResponse; var Handled: Boolean);
 begin
  WebDebugOut('[TwebLobbyServer.DataModuleRequest] ARequest.Content='
 + ARequest.Content); <--------------- HERE

This is where I get an empty ARequest.Content

-- 
Felipe Monteiro de Carvalho
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply via email to