Returning data back from LC server script to the stack?
jbv at souslelogo.com
jbv at souslelogo.com
Wed Jul 30 15:47:01 EDT 2014
Hi John,
Yes that's possible. I've been doing that for years...
jbv
> Hi All,
>
> Is it possible to return data from a LC server script directly to a stack?
>
> For example:
>
> Server script, file name: test.lc
>
> <lc?
> Put This is text originating from the server. into tServerData
> put tServerData < back to stack>
>
> ?>
>
> And on the stack, in a button script:
>
> on MouseUp
> Get URL "http://jpatten.on-rev.com/tserver/test.lc
> answer it
> end MouseUp
>
> Im just wondering if there is a way for LC server to send data back to
> the stack as opposed to creating a web page and displaying it in a
> browser?
>
> Thank you!
>
> John Patten
> SUSD
> _______________________________________________
> 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