Quantcast
Channel: Xojo Programming Forum - Latest topics
Viewing all articles
Browse latest Browse all 3866

URLConnection on web

$
0
0

Hello Guys,

Is URLConnection working on web ?

i try to get a simple url response , i do a webdialog where i define the URLConnection property and i call it like this

If taSource.Text <> "" Then
  
  conn = New URLConnection
  
  taResponse.Text = conn.SendSync("GET", taSource.Text, 30)
  
  taResponse.Text = taResponse.Text + EndOfLine + "Connection Status code : " + conn.HTTPStatusCode.ToString
  
  conn.Disconnect
  
  conn = Nil
  
  
End If

Now, once i run this locally on the mac it works perfectly . When i run that on the debian server it crashes and it says that the app needs to restart .

Any idea why ?

Thanks

3 posts - 2 participants

Read full topic


Viewing all articles
Browse latest Browse all 3866

Trending Articles