Back in January, I asked LiveCode why I can't get the libURL library to function on the Server, even though the documentation says that it is supported. The answer was that the documentation needs to be corrected to show that libURL library is not supported on the Server.
The key current implication for me is that I can't find a way to have the server retrieve data from another server that places cookies.
I'm wondering how I might get around this problem. One naive idea is to build a functional LiveCode Linux standalone, put it on On-Rev, and somehow get the Server script to call the standalone. Is that feasible? Is there another way to get libURL functionality?
Thanks,
Roger
alternative libURL functionality on Server
Moderators: Klaus, FourthWorld, heatherlaine, kevinmiller, robinmiller
Re: alternative libURL functionality on Server
libURL can be used with the CGI engine, so I will assume it can be used with the server module.. There are a few script changes that are needed to modify the non-working code.. I will look for the version I modified and post the changes needed so you can test it on the server (note: I did this back when there was only the CGI engine)
Re: alternative libURL functionality on Server
Not too certain what I changed in here (i believe the changes were commenting out the custom property lines in the "ulBuildHttpRequest" command) but this is the version of libURL that I was using with the old CGI engine.. To use the library, you will need to insert it in to the back..
http://shaosean.tk/runrev/third_party/libUrl.zip
Code: Select all
insert the script of stack "libUrl.rev" into back