Help!
I am using XMLHTTP to push data from one ASP page on one remote server to an ASP page on another server. The receiving page needs to accept the data and insert it into the database.
If I'm using XMLHTTP to shuttle the info to the remote server, how do I setup my receiving page to capture the data that is being sent and split into fields so that I can insert into my database?
Here's a snippet of my page that's SENDING the data:
--------------------------------------
strPost = "email=" & email & "&firstname=" & firstname & "&lastname=" & lastname
set xml = Server.CreateObject("Microsoft.XMLHTTP"
xml.open "POST", my_remote_server_url & "/saveXMLdata.asp", false
xml.send strPOST
response.write "STATUS: " & xml.Status & "<HR>"
response.write "responseText: " & xml.responseText
set xml = nothing
Any help would be greatly appreciated.
Thanks,
Scott
I am using XMLHTTP to push data from one ASP page on one remote server to an ASP page on another server. The receiving page needs to accept the data and insert it into the database.
If I'm using XMLHTTP to shuttle the info to the remote server, how do I setup my receiving page to capture the data that is being sent and split into fields so that I can insert into my database?
Here's a snippet of my page that's SENDING the data:
--------------------------------------
strPost = "email=" & email & "&firstname=" & firstname & "&lastname=" & lastname
set xml = Server.CreateObject("Microsoft.XMLHTTP"
xml.open "POST", my_remote_server_url & "/saveXMLdata.asp", false
xml.send strPOST
response.write "STATUS: " & xml.Status & "<HR>"
response.write "responseText: " & xml.responseText
set xml = nothing
Any help would be greatly appreciated.
Thanks,
Scott