Greetings,
My efs application contacts a web page, looking for a one line response. The generic code is:
vWebObj =new HTTP("http://www.tic2tic.com/WaveTracker.asp?sym=" + getSymbol() );
if (vWebObj.open())
debugPrint (vWebObj.readln())
The contacted asp web page uses the 'Response' object to write the one line response.
The good news is that it 'sometimes' works. When it does not work, what happens is that the http object (vWebObj) reads the first line of html on the asp page. I have not been able to figure out why it sometimes works and sometimes does not, so I have the web page write to a text file when it receives a message from the efs study and then have the efs application read the text file. That works fine as a workaround, but I would like to have the http object reliably read directly the output sent by the web page. Has anyone else seen this problem, or know of a solution?
Thanks,
Scott
My efs application contacts a web page, looking for a one line response. The generic code is:
vWebObj =new HTTP("http://www.tic2tic.com/WaveTracker.asp?sym=" + getSymbol() );
if (vWebObj.open())
debugPrint (vWebObj.readln())
The contacted asp web page uses the 'Response' object to write the one line response.
The good news is that it 'sometimes' works. When it does not work, what happens is that the http object (vWebObj) reads the first line of html on the asp page. I have not been able to figure out why it sometimes works and sometimes does not, so I have the web page write to a text file when it receives a message from the efs study and then have the efs application read the text file. That works fine as a workaround, but I would like to have the http object reliably read directly the output sent by the web page. Has anyone else seen this problem, or know of a solution?
Thanks,
Scott
Comment