URL handling

John Allijn jallijn at gmail.com
Sun Mar 31 02:46:17 EDT 2013


Ok, Thanks!



On Mar 31, 2013, at 6:40, Mark Talluto <userev at canelasoftware.com> wrote:

> On Mar 30, 2013, at 12:28 PM, John Allijn <jallijn at gmail.com> wrote:
> 
>> Hi,
>> I'm working on a windows application that relies a lot on database qeuries. Both reading and writing of data. 
>> On the server side I use php scripts. 
>> In my application I use syntax like "Put URL tURL into tResult".
>> It all works well, but I am the only user on the database. 
>> I am wondering what happens when lots of people (about a thousand) use this app. Will livecode wait until the php script is finished? Should there be some error handling on time-outs? If so, what is the best way to do that?
> 
> Posting data to a php script is blocking.  But, it only takes milliseconds to do the transaction, so it will feel very light.  You can have your php script echo data back to you based on success or failure from its point of view.  That echo data will be placed into the variable you are putting into. 
> 
> You can then decide what to to based on the contents of that variable.
> 
> Mark Talluto
> canelasoftware.com
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode




More information about the Use-livecode mailing list