Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Pass results of server.execute into variable

Status
Not open for further replies.

travisbrown

Technical User
Dec 31, 2001
1,016
Is there a way to pass the results of a server.execute call into a variable or object?

I was using a serverside xmlhttp call, but I need to keep both the host page and the remote page in the same session.

In concept, something like this:

Code:
<%

a = server.execute("xml.asp")
b = server.execute("xsl.asp")

set xml = Server.CreateObject("Microsoft.XMLDOM")
xml.async = false
xml.load(Server.MapPath(a))

set xsl = Server.CreateObject("Microsoft.XMLDOM")
xsl.async = false
xsl.load(Server.MapPath(b))

Response.Write(xml.transformNode(xsl))
%>
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top