In my software I will have users registered on a website.
Users shall update their own data as well as automatic data will be updated on the server.
Here is my idea of how it will be done:
1. Use IsConnected to check is the user is online.
2. Use either POST data or to send a form data.
Dim http As New HTTPSocket
http.Get("www.myDomain.com/updateData.asp?USER=123&PASSWORD=123&FiddleData=123", 30)
Or the form...
Dim form As Dictionary
Dim socket1 As New HTTPSocket
// create and populate the form object
form = New Dictionary
form.Value("USER") = "123"
form.Value("PASSWORD") = "123"
form.Value("FIDDLEDATA") = "123"
// setup the socket to POST the form
socket1.SetFormData(form)
socket1.Post("http://www.myformlocation.com/form.asp")
My question here is, how would you do it...??
When writing this post, I think the second choice looks better.... and I will try that alternative. However, I need to prepare the server for these things!!