Re: POST command and Previous Request Not completed
Bonjour mon ami, Am 20.06.2015 um 16:11 schrieb Pierre Sahores s...@sahores-conseil.com: Guten Tag Freud Klaus, Does it still occurs if each POST command is followed by a « put it into mylocalVar » : Post ... put it ... Post ... put it … etc… I am checking: if IT = empty then… Does that count? 8-) Maybe i am just misunderstand „blocking“ here!? I thought this would be like firing an ASK or ANSWER dialog, no? Tchuss, -- Pierre Sahores mobile : 06 03 95 77 70 www.sahores-conseil.com Best Klaus -- Klaus Major http://www.major-k.de kl...@major-k.de ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: POST command and Previous Request Not completed
On 6/20/2015 10:10 AM, J. Landman Gay wrote: On June 20, 2015 9:18:59 AM CDT, Klaus major-k kl...@major-k.de wrote: Maybe i am just misunderstand „blocking“ here!? I thought this would be like firing an ASK or ANSWER dialog, no? It blocks libURL from accepting a new request but returns control to your script after a brief time. So it isn't like an answer dialog in that way. I was going to ask about this myself yesterday. Some of my client's users get this error frequently and I haven't yet found a good workaround. I'm using a kludge that resends the request several times until that error no longer occurs but it doesn't work very well. I'd love to know how others handle it because it's causing all kinds of problems in our app. Oops, sorry, my app is using GET instead of POST. So my answer isn't quite right. Listen to Trevor. But if anyone knows a way to avoid the previous request not completed when getting a URL I'd love to know. -- Jacqueline Landman Gay | jac...@hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: POST command and Previous Request Not completed
On Saturday, June 20, 2015, Klaus major-k kl...@major-k.de wrote: Say we have some POST commands and fire them one after another. Now according to the docs, the POST command is blocking, so we should NOT see the error dialog Previous Request Not completed“ any time, right? But under some (mysterious) circumstances we actually do, what am I missing? Thanks a lot for any insight! I think you could run into this problem if you are using send in time. POST will keep the handler it is in from continuing but another handler could start executing with a send in time call. -- Trevor DeVore ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: POST command and Previous Request Not completed
On June 20, 2015 9:18:59 AM CDT, Klaus major-k kl...@major-k.de wrote: Maybe i am just misunderstand „blocking“ here!? I thought this would be like firing an ASK or ANSWER dialog, no? It blocks libURL from accepting a new request but returns control to your script after a brief time. So it isn't like an answer dialog in that way. I was going to ask about this myself yesterday. Some of my client's users get this error frequently and I haven't yet found a good workaround. I'm using a kludge that resends the request several times until that error no longer occurs but it doesn't work very well. I'd love to know how others handle it because it's causing all kinds of problems in our app. -- Jacqueline Landman Gay | jac...@hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: POST command and Previous Request Not completed
Guten Tag Freud Klaus, Does it still occurs if each POST command is followed by a « put it into mylocalVar » : Post ... put it ... Post ... put it … etc… Tchuss, -- Pierre Sahores mobile : 06 03 95 77 70 www.sahores-conseil.com Le 20 juin 2015 à 14:35, Klaus major-k kl...@major-k.de a écrit : Hi friends, I have a little understanding problem. 8-) Say we have some POST commands and fire them one after another. Now according to the docs, the POST command is blocking, so we should NOT see the error dialog Previous Request Not completed“ any time, right? But under some (mysterious) circumstances we actually do, what am I missing? Thanks a lot for any insight! Best Klaus -- Klaus Major http://www.major-k.de kl...@major-k.de ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: POST command and Previous Request Not completed
Trevor DeVore wrote: On Saturday, June 20, 2015, Klaus major-k klaus at major-k.de wrote: Say we have some POST commands and fire them one after another. Now according to the docs, the POST command is blocking, so we should NOT see the error dialog Previous Request Not completed“ any time, right? But under some (mysterious) circumstances we actually do, what am I missing? I think you could run into this problem if you are using send in time. POST will keep the handler it is in from continuing but another handler could start executing with a send in time call. I wish it were so easy. I have a button which toggles between opening a record for editing and saving a record. When opening for editing it uses GET, and for saving it uses POST. When I click the button quickly in success while it's in Save mode, it initiates the post but then queues the GET too close behind, perhaps even before POST is done, and then libURL goes into an odd state complaining about certs it otherwise has no problem with. I'll see if I can get some time to assemble a simple demo stack and submit a bug report, but in short I believe Klaus is onto something, that POST is only blocking in some very specific ways that are difficult to identify and anticipate. -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ambassa...@fourthworld.comhttp://www.FourthWorld.com ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: POST command and Previous Request Not completed
I have a couple curiosity questions re: post. The dictionary (7.0.5) has the following Note: The Android and iOS engines do not support 'libUrl' but allow you to use post in the background. [...] Does anyone have an example of using post in the background on mobile? Is there a callback message involved? I was also wondering if there is a way to use the load command to post.. And if so, would this allow multiple quick post requests, with callback to be done? On Sat, Jun 20, 2015 at 12:45 PM, J. Landman Gay jac...@hyperactivesw.com wrote: On 6/20/2015 1:06 PM, Richard Gaskin wrote: I believe Klaus is onto something, that POST is only blocking in some very specific ways that are difficult to identify and anticipate. There's someone on the forums with the same POST issue. They're trying to POST every few seconds and they're getting this error. Their work may provide a good example stack. -- Jacqueline Landman Gay | jac...@hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: POST command and Previous Request Not completed
On 6/20/2015 1:06 PM, Richard Gaskin wrote: I believe Klaus is onto something, that POST is only blocking in some very specific ways that are difficult to identify and anticipate. There's someone on the forums with the same POST issue. They're trying to POST every few seconds and they're getting this error. Their work may provide a good example stack. -- Jacqueline Landman Gay | jac...@hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode