I have an issue with the client HTTP plugin.
When a client downloads a solution for the first time.
The statement in this method returns true.
- Code: Select all
globals.GT_Printer_Report_Info = plugins.http.getPageData('http://' + name + '/port_0/printer/menuspg')
if (globals.GT_Printer_Report_Info)
{
var temp = globals.GT_Printer_Report_Info
var GI_Page_Count_Location = utils.stringPosition(globals.GT_Printer_Report_Info, 'Page Count', 1, 1) + 19
var i = 0
while (utils.stringMiddle(globals.GT_Printer_Report_Info, GI_Page_Count_Location + i + 1, 1) != "I")
{
var GI_Counter = utils.stringMiddle(globals.GT_Printer_Report_Info, GI_Page_Count_Location, i + 1)
i = i + 1
}
counter = GI_Counter
counterdate = new Date()
controller.relookup()
}
else
{
application.showURL('http://' + name + '/port_0/printer/menuspg')
}
After a restart of the client or pc the statement returns false. ("globals.GT_Printer_Report_Info" is empty). On the developer everything works fine.
While the HTTP page opens so the destination is active
When I delete the solution on the client and download it again the method works again but after a restart ......
