No one on this forum responded but I was able to get it working. If anyone has a better method I'd be happy to hear it.
Code:
<%
Response.Buffer = True
Dim objXMLHTTP, xml
' Create an xmlhttp object:
' Set xml = CreateObject("Microsoft.XMLHTTP")
' Or, for version 3.0 of XMLHTTP, use:
Set xml = CreateObject("MSXML2.ServerXMLHTTP")
' Opens the connection to the remote server.
xml.Open "GET", "https://www.somewebsite.com/", False
' Actually Sends the request and returns the data:
xml.Send
MyArray = split(xml.responseText," ")
For i = 1 to ubound(MyArray)
if InStr(MyArray(i),"VARIABLE1") > 0 then
DataExp = GetVar(MyArray(i+1))
End If
if InStr(MyArray(i),"VARIABLE2") > 0 then
DataSlot = GetVar(MyArray(i+1))
End If
if InStr(MyArray(i),"VARIABLE3") > 0 then
DataDir = GetVar(MyArray(i+1))
End If
Next
response.write "<INPUT TYPE=""HIDDEN"" NAME=""VARIABLE1"" VALUE=" + DataExp + ">" + vbcrlf
response.write "<INPUT TYPE=""HIDDEN"" NAME=""VARIABLE2"" VALUE=" + DataSlot + ">" + vbcrlf
response.write "<INPUT TYPE=""HIDDEN"" NAME=""VARIABLE3"" VALUE=" + DataDir + ">" + vbcrlf
function GetVar(data)
SplitVarArray = split(data,"""")
GetVar = SplitVarArray(1)
End function
Set xml = Nothing
Set RetData = Nothing
%>
Bookmarks