Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Internal HTTP GET inside ASP page

Posted on 2001-07-25
2
Medium Priority
?
257 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 

Accepted Solution

by:
holymud earned 800 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

On Demand Webinar: Networking for the Cloud Era

Did you know SD-WANs can improve network connectivity? Check out this webinar to learn how an SD-WAN simplified, one-click tool can help you migrate and manage data in the cloud.

Question has a verified solution.

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

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…
Have you ever needed to get an ASP script to wait for a while? I have, just to let something else happen. Or in my case, to allow other stuff to happen while I was murdering my MySQL database with an update. The Original Issue This was written…
In this video, Percona Solution Engineer Rick Golba discuss how (and why) you implement high availability in a database environment. To discuss how Percona Consulting can help with your design and architecture needs for your database and infrastr…
We’ve all felt that sense of false security before—locking down external access to a database or component and feeling like we’ve done all we need to do to secure company data. But that feeling is fleeting. Attacks these days can happen in many w…

721 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