![]() |
|
|||||||
| ASP & VBScript Forum Need help from a webmaster with ASP or VBScript, you may ask in this forum? |
![]() |
|
|
LinkBack | Thread Tools | Display Modes |
|
|||
|
I have a data server which provides is data via a series of XML payloads - and allows queries and input using the same basic XML idea.
What i need to do is write a set of web pages that can interpret and display the XML payloads - call them presenters. Show how do i write a VBScript ASP that excutes an outgoing http request to another server - and then waits for the response (which it can then process and generate HTML). |
|
This ad is part of our Revenue Sharing program |
|
|||
|
I would recommend using a MSXML2.XMLHTTP object to handle this. Here is an example.
dim xmlHTTP set XmlHttp = server.createobject("Msxml2.XMLHTTP") XmlHttp.onreadystatechange = getRef("process") XmlHttp.open "GET", "http://www.site.com", false XmlHttp.send() Sub process() if xmlHTTP.readyState = 4 then pageText = xmlHTTP.responseText end if end sub |
![]() |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| writing output text file | fedia | ASP & VBScript Forum | 0 | 04-13-2008 05:28 PM |
| Best Web Development Service | wasif | Show it off & Services | 0 | 01-28-2008 10:27 AM |
| Coopoon, a new service in white labelling - You will earn money. | Subiku | Show it off & Services | 0 | 01-27-2008 06:59 PM |
| Open&PPTP/VPN-Service | Hariyazzz | Show it off & Services | 0 | 10-08-2007 04:23 PM |
| About our site reach and service level. | Roger123 | Show it off & Services | 0 | 10-01-2007 02:44 PM |