Solved

Internal HTTP GET inside ASP page

Posted on 2001-07-25
2
252 Views
Last Modified: 2010-08-05
I have written some ASP COM Objects using Delphi that are able to do what I call an "internal HTTP GET" of some other page (on the same web or not) and then parse the results and do whatever I need with them inside the object itself.

Ok...that I know how to do.

What I am asking is if anyone knows how I could, on the server-side in an ASP page (either JavaScript or VBScript) I could to some HTTP GET of another page, get the results and parse them to do some specific stuff based on the results I get.

For example...I would like to have a database on a remote server that stores some data.  I would like to have a specific CGI or ISAPI program that can retrieve the data and return it in some form to whoever requests it.  I would like an ASP page to be able to call that CGI (via HTTP GET) and parse the results and perhaps display them, or in some way use them for building the resultant page to be sent to the client.

I don't want to have to use a custom binary object (like what I mentioned before about Delphi) to accomplish this...I'd like to have it in the ASP script itself.

Am I crazy?  Is it even possible?

Jim
0
Comment
Question by:JimboKern69
2 Comments
 

Accepted Solution

by:
holymud earned 200 total points
ID: 6320980
Use ServerXMLHTTP object for server to server communication

--------------------
Dim xmlServerHttp As New Msxml2.serverXmlHttp
xmlServerHttp.open "GET", "http://localhost/sample.xml", False
xmlServerHttp.send
response.write xmlServerHttp.responseText
-----------------------
0
 

Author Comment

by:JimboKern69
ID: 6548515
Just realized I never graded this...thanks for the info!

Sorry it took so long!

Jimbo
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Summernote and form validation 10 223
Bypass cross origin issues on development site 3 95
Diminish Pop-up  in 3 seconds 7 65
MS SQL and column defined as time 7 25
I recently decide that I needed a way to make my pages scream on the net.   While searching around how I can accomplish this I stumbled across a great article that stated "minimize the server requests." I got to thinking, hey, I use more than one…
Hello, all! I just recently started using Microsoft's IIS 7.5 within Windows 7, as I just downloaded and installed the 90 day trial of Windows 7. (Got to love Microsoft for allowing 90 days) The main reason for downloading and testing Windows 7 is t…
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial

713 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question