Example:
|
Set SAXFile = Server.CreateObject("SoftArtisans.XFRequest")
SAXFile.Server = "localhost"
SAXFile.ObjectName = "/SAXFileSamples/ASP/post/formdata/formresp.asp"
'--- Add form elements to the transfer with name/value pairs
'--- Turn off Anonymous user access to get a value for this Server Variable
SAXFile.AddFormElement "UserName", Request.ServerVariables("LOGON_USER")
SAXFile.AddFormElement "URL", Request.ServerVariables("HTTP_REFERER")
SAXFile.AddFormElement "DateTime", Now()
'--- Begin transfering the form data SAXFile.Start
'--- Write the response from the transfer (results from object name ASP file)
Response.Write SAXFile.Response
|