LiveCode Server latency causing empty results

Roger Eller roger.e.eller at sealedair.com
Thu Aug 6 12:21:09 EDT 2015


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