I've come to the realization that the /HttpAPI.asp?action= script is causing me issues when a users signs up to my site. Sometimes it works and does not prevent the user from going through the sign up process, but most of the times, it either takes to long to complete or some other unexplained issues arises that prevent the user from going through my website sign up process. The code is on the sign up page of my site.
The sign up process is as follows:
Signuppage (Httpapi) - >Signup profile input - >Sign up Image upload - >Confirmation
Most of the time the users only is able to complete the signuppage. Since removal of the httpapi all is good.
So, I have decided on removing it and currently have no problems.
My question are:
1. What other means can I create a user with out using the HTTPAPI?
2. Is it safe to just do it via code?
3. What steps should be taken to ensure this vb.net coding works correctly?
4. Lastly, do you think upgrading version 11 may help the issue?
VB.NET CODE
Dim objrequest As HttpWebRequest 'request from the remote server.
Dim objresponse As HttpWebResponse 'Recieve the stream of data send from the remote server.
Dim streamhtml As StreamReader
Dim strhtml As String
Try
objrequest = CType((Net.WebRequest.Create(strURL)), HttpWebRequest)
objrequest.Method = "GET" 'This method of http is request/get the data from the remote server.
objresponse = CType(objrequest.GetResponse(), HttpWebResponse)
streamhtml = New StreamReader(objresponse.GetResponseStream) 'Data stream from the response
strhtml = streamhtml.ReadToEnd 'Place the stream(string data) into a string variable to manipulate.
streamhtml.Close()
streamhtml.Dispose()
objresponse.Close()
Catch ex As Exception
'Used to enter in the error into the sql table to analysis.
Dim slex As String = ex.Message.ToString
EnterintoSQLerrorTable(slex, strURL) '
End Try