JobDone code is here;
Sub JobDone (Job As HttpJob)
Log("JobName = " & Job.JobName & ", Success = " & Job.Success)
If Job.Success = True Then
Select Job.JobName
Case "Job1"
'print the result to the logs
'Log(Job.GetString)
Case "Job2"
'print the result to the log
Log(Job.GetString)
TextViewMessage.Text=Job.GetString
End Select
Else
Log("Error: " & Job.ErrorMessage)
End If
Job.Release
End Sub
And the log is here;
Class (b4i_httpjob) instance released.
response success
JobName = MyJob, Success = true
Class (b4i_httpjob) instance released.
response success
JobName = Job2, Success = true
Incorrect hardware key.
Class (b4i_httpjob) instance released.
In Job2 it says "Incorrect hardware key" but it is not related to our job. It gets this message because there is a problem with our target. Our target doesn't want hardware key. My code can not reach to the "op=chat_new_messages" So it jumps to another lines and receive "Incorrect hardware key". Why the line below doesn't see my request?
if (@$_GET["op"] == "chat_new_messages")