Public Function WebResponseGet(ByVal web_Request As HttpWebRequest)

        Dim responseReader As StreamReader = Nothing
        Dim responseData As String = ""

        Try

            responseReader = New StreamReader
(web_Request.GetResponse.GetResponseStream())
            responseData = responseReader.ReadToEnd()

        Catch

            Throw

        Finally

            web_Request.GetResponse().GetResponseStream().Close()
            responseReader.Close()
            responseReader = Nothing

        End Try

        Return responseData
    End Function
---------------------------------------------------------------------------------

This above is the final code for my VB.NET program.

I think because it is retreiving the same URL twice or even three
times - the nonce expires.

Any one got any solutions to this problem?

Reply via email to