Classic ASP in XMLHTTPRquest for the same site

2

Hello.

I'm trying to post a link for link but is giving timeout with the following code:

caminho =  "http://java/app/notificacao.asp"

Set objHTTP = CreateObject("MSXML2.ServerXMLHTTP")
objHTTP.open "POST", caminho, false

objHTTP.setRequestHeader "Content-Type", "application/x-www-form-urlencoded"
objHTTP.send    "id=2"

Response.Write objHTTP.responseText
    
asked by anonymous 11.06.2015 / 21:06

0 answers