Web Development

General discussion


Access a method in another server using xmlhttp

By thayalan44 ·
Shown below is ASP Code sample that tries to access a method,CreateUser in the server called, "http://smallbutsmart.basis.com.au" using XMLHTTP. Can you explain to me why this Code does not work and showing the correct Code Sample?

dim objXMLHTTP
set objXMLHTTP = Server.CreateObject("Microsoft.XMLHTTP")
objXMLHTTP.Open "Post", "http://smallbutsmart.basis.com.au", false
'objXMLHTTP.SetRequestHeader "Content-type", "text/html"
'objXMLHTTP.CreateUser "abc","123","Scriven","1","001","qms"

This conversation is currently closed to new comments.

Thread display: Collapse - | Expand +

All Comments

Related Discussions

Related Forums