Which version of LPS are you using, and are you using SWF or DHTML runtime?
There were some changes to the LFC (runtime library) code to allow real raw
content posting in SWF, and there were also some other fixes. These are
mostly in LPS 4, not in the 3.x branches.



On 6/4/07, Geoff Crawford <[EMAIL PROTECTED]> wrote:


Just a quick question -

I'm trying to do the XMLHttpRequest at the moment,
and I see this in the docs:

XMLHttpRequest.send(content)

send(content) Transmits the request, optionally with postable string
or DOM object data + In serverless mode, there''s no Flash API to
post a raw data string in the POST body. + doesn''t support "content"
arg yet for serverless operation


I'm thinking that means that SOLO apps among other
restrictions have the .send() that works.  (ie serverless
means SOLO)  Or does this mean that send really doesn't
work?

I've got the sample in the docs working.  But it uses
a GET and not a POST, and does XMLHttpRequest.send(null);
I've got all the right pieces working so it does send
my first of three requests, and retrieves back the
response.  But I have a proxy to inspect what the
web service receives for the post, and the content
is always content-length of 0, and nothing ever works.

I'm sending straight text as the parameter to send() -
does it for some reason require and XML DOM document,
or is a plain string OK?

I also read a previous post to laszlo-user in Feb 2006
saying the same thing - it's always posting zero length
content.  The solution there seemd to be just switch to
the doRequest of the data set - only with my three requests
I can't do that.

Thanks in advance.



=======================================================================
Geoff Crawford                          Phone:         (973) 361 - 4224

                  ProcessWare ERP for the Chemical Industry





--
Henry Minsky
Software Architect
[EMAIL PROTECTED]

Reply via email to