Re: LiveCode Server latency causing empty results

2015-08-07 Thread Roger Eller
Mike, Thank you. Your loop through the array makes perfect sense to me. On Aug 7, 2015 6:21 PM, "Mike Bonner" wrote: > A couple things, probably just typos but.. > > Your function begin and end names don't match. > You have 2 put lines on the same line, which won't work. (type on this one > i'm

Re: LiveCode Server latency causing empty results

2015-08-07 Thread Mike Bonner
A couple things, probably just typos but.. Your function begin and end names don't match. You have 2 put lines on the same line, which won't work. (type on this one i'm sure) When you are getting stuff back out of the $_POST variable, "name" and "message" are the array keys. not "tName" or "tMess

Re: LiveCode Server latency causing empty results

2015-08-07 Thread Roger Eller
In the multiLine messageBox, I have this script: - put empty into tForm put "http://myServer/post_this.lc"; into tUrl put "dave" into tName put "hello" into tMessage if libURLMultipartFormData (tForm, "name", tName, "message", tMessage) is not empty then answer it ##error else

RE: Livecode server latency...

2015-08-07 Thread Ralph DiMola
Gaskin Sent: Friday, August 07, 2015 2:50 PM To: use-livecode@lists.runrev.com Subject: Re: Livecode server latency... christer wrote: > My app uses Tio, and the latency is really severe. A new user won't > accept 10 sec wait, not to speak about 30. The latency prohibits > us

Re: Livecode server latency...

2015-08-07 Thread Richard Gaskin
christer wrote: > My app uses Tio, and the latency is really severe. A new user won't > accept 10 sec wait, not to speak about 30. The latency prohibits > user's registration and also user's relicensing. RR should focus the > issue because it is a showstopper. With a delay that long they probabl

Re: LiveCode Server latency causing empty results

2015-08-07 Thread Mike Bonner
put "name1=value1&name2=value2&name3=value3" into tPost post tPost to URL Its also handy to use liburlformdata to build your post string also liburlmultipartformdata and liburlmultipartformaddpart On Fri, Aug 7, 2015 at 10:56 AM, Roger Eller wrote: > I want to try POST, but I don't know how to

Re: LiveCode Server latency causing empty results

2015-08-07 Thread Roger Eller
I want to try POST, but I don't know how to feed it my list as a parameter without having a form involved. Any examples of POST without a html form would be helpful. ~Roger On Thu, Aug 6, 2015 at 2:38 PM, Mike Bonner wrote: > Not sure it'll make a difference, but have you considered using POS

Re: Livecode server latency...

2015-08-07 Thread christer
My app uses Tio, and the latency is really severe. A new user won't accept 10 sec wait, not to speak about 30. The latency prohibits user's registration and also user's relicensing. RR should focus the issue because it is a showstopper. ___ use-l

Re: LiveCode Server latency causing empty results

2015-08-06 Thread David Bovill
; IT Director > Evergreen Information Services > rdim...@evergreeninfo.net > > > -Original Message- > From: use-livecode [mailto:use-livecode-boun...@lists.runrev.com > ] On Behalf > Of Mike Bonner > Sent: Thursday, August 06, 2015 2:38 PM > To: How to use LiveCode &

RE: LiveCode Server latency causing empty results

2015-08-06 Thread Ralph DiMola
ge- From: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] On Behalf Of Mike Bonner Sent: Thursday, August 06, 2015 2:38 PM To: How to use LiveCode Subject: Re: LiveCode Server latency causing empty results Not sure it'll make a difference, but have you considered using POST rather th

Re: LiveCode Server latency causing empty results

2015-08-06 Thread Mike Bonner
Not sure it'll make a difference, but have you considered using POST rather than get? On Thu, Aug 6, 2015 at 12:23 PM, Richard Gaskin wrote: > I don't think it's the URL length. URL length may sometimes be an issue, > but most often only for the server; since this works in a browser I think > i

Re: LiveCode Server latency causing empty results

2015-08-06 Thread Richard Gaskin
I don't think it's the URL length. URL length may sometimes be an issue, but most often only for the server; since this works in a browser I think it may be reasonably safe to rule that out. Cookies won't appear in the data, but they can be seen with whatever tools your browser provides for e

Re: LiveCode Server latency causing empty results

2015-08-06 Thread Roger Eller
Richard, if I view source of the result in a browser, it is just text, exactly as the database spits it out, no formatting as it is not meant for browser/human consumption. I haven't used or needed to use cookies before. This application works for 99% of the requests. Based on the size of the wo

Re: LiveCode Server latency causing empty results

2015-08-06 Thread Richard Gaskin
Roger Eller wrote: > The URL is really long, so maybe I am hitting some upper limit within > LiveCode. The same URL pasted into a browser (chrome) receives a > result, but get URL within LiveCode does not. The parameter is just a > long list my server script looks up in a database. The list leng

Re: LiveCode Server latency causing empty results

2015-08-06 Thread Roger Eller
you experienced. >> >> Ralph DiMola >> IT Director >> Evergreen Information Services >> rdim...@evergreeninfo.net >> >> -Original Message- >> From: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] On >> Behalf >> Of R

Re: LiveCode Server latency causing empty results

2015-08-06 Thread Roger Eller
-livecode [mailto:use-livecode-boun...@lists.runrev.com] On > Behalf > Of Roger Eller > Sent: Thursday, August 06, 2015 10:24 AM > To: How to use LiveCode > Subject: LiveCode Server latency causing empty results > > When the network is slow, sometimes my LC server scripts come up e

RE: LiveCode Server latency causing empty results

2015-08-06 Thread Ralph DiMola
ugust 06, 2015 10:24 AM To: How to use LiveCode Subject: LiveCode Server latency causing empty results When the network is slow, sometimes my LC server scripts come up empty. Resubmitting the URL request usually, but not always corrects the problem. Is there something I can put in the script to hel

LiveCode Server latency causing empty results

2015-08-06 Thread Roger Eller
When the network is slow, sometimes my LC server scripts come up empty. Resubmitting the URL request usually, but not always corrects the problem. Is there something I can put in the script to help with this? ~Roger ___ use-livecode mailing list use-live