codice:
<%@LANGUAGE = JScript%>
<%
function sendDataTo(Url,Buffer){
var Http = Server.CreateObject("Msxml2.XMLHTTP.4.0")
Http.Open("POST", Url , false)
Http.setRequestHeader "Content-Type","application/x-www-form-urlencoded"
Http.Send(Buffer)
return Http.ResponseText
}
Beffer = "<OutwardDates><DepartDateFilter>"+
"<DiscardBefore>" + Request("data1") + "</DiscardBefore>" +
"<DiscardAfter>" + Request(data2") + "</DiscardAfter>"
"</DepartDateFilter></OutwardDates>"
Response.Write(sendDataTo("http://www.nomesito.it/esempio.asp",Buffer))
%>