iOS Question Job and webview sends 4 requests instead of 2

John Woodsmall

Active Member
Licensed User
Longtime User
I have a simple job request:

job1.Initialize("Job1", Me)
job1.Download2(target0, _
Array As String("first key", "first value :)", "second key", "value 2"))
' then this html page to display...which sends 2 requests also....
'
Page2.Initialize("Page2")
Page2.Title = "Page2"
Page2.RootPanel.Color = Colors.White
Page2.RootPanel.LoadLayout("page2")
NavControl.ShowPage(Page2)
WebView2.LoadUrl(target0)

but this produces 4 hits on the server instead of the expected 2 hits.
How is this happening?

'later there is:
If Job.Success = True Then
Select Job.JobName
Case "Job1"
'print the result to the logs
'Log(Job.GetString)
spoken_text = Job.Getstring

all of this works fine, it just is requesting 4 hits on the server instead of 2.
 

John Woodsmall

Active Member
Licensed User
Longtime User
Just to be clear:

1.) the app requests the target0 to be sent from the web server.
2.) the app makes multiple requests to the web server, not just one?

Any way to just make one request to the web server?
 
Upvote 0
Top