Support Board
Date/Time: Sun, 22 Dec 2024 21:29:56 +0000
Post From: ACSIL QUESTION wait x amount of time until next line is executed?
[2015-06-06 18:42:31] |
enemyspy - Posts: 306 |
It does get a complete response eventually its just when I step through the code in Visual Studio it does not get it on the first try. I have to go through several iterations before it gets the whole response. I consistently get it after 2-3 seconds and parsed properly. I do suspect this is probably due to the way I have the php page coded not the sc function. Every time the http request hits the url a mysql query is executed and then a while loop echos the arrays returned in the query by row. So I wonder if what is happening is that the response is coming back to SC as what would be considered a complete response, before the query has finished displaying. This would not be an issue on the SC end. Perhaps I need to figure out a better way generate the response from server. Just do not know enough about this subject yet to come up with an intelligent solution. |