LiveCode Server latency causing empty results

Roger Eller roger.e.eller at sealedair.com
Thu Aug 6 18:54:11 CEST 2015


Nope, that didn't resolve it.  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 length varies.

~Roger


On Thu, Aug 6, 2015 at 12:21 PM, Roger Eller <roger.e.eller at sealedair.com>
wrote:

> Thanks Ralph!  I was thinking along those lines, but wasn't sure if the
> result wasn't making it back to LC Server from a database query, or whether
> it was the web server timing out.  I'm going to try it and see what happens!
>
> ~Roger
>
>
> On Thu, Aug 6, 2015 at 11:06 AM, Ralph DiMola <rdimola at evergreeninfo.net>
> wrote:
>
>> Roger,
>>
>> Try set the socketTimeoutInterval to "milliseconds"
>> The default seems to be 10000 (10 seconds)
>> It also works on mobile although the docs say that this is not available
>> on
>> mobile.
>>
>> I set mine to "set the socketTimeoutInterval to 30000" This gives 30
>> seconds
>> for the server to respond.
>> If there is a timeout then empty is returned as you experienced.
>>
>> Ralph DiMola
>> IT Director
>> Evergreen Information Services
>> rdimola at evergreeninfo.net
>>
>> -----Original Message-----
>> From: use-livecode [mailto:use-livecode-bounces at 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 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
>>
>>
>


More information about the use-livecode mailing list