Retrieve a page content into a variable

C

Carlos Gomez

Question 1
Is there a way to execute a page, retrieve some information out of it and
then present it in my page?
example:
The user access MyPage.asp
MyPage.asp <somehow, internally> calls "http://www.weather.com/Local?ZIP=123456"
Store it's contents into a variable.
Retrieves the current temperature from that page and presents it as part
of MyPage.asp
This being done in the Server, without the user knowing what happened.
To the user the current temperature is part of the html code of MyPage.asp
The Server.Execute and Server.Transfer does not do what I need. At least
that I know of, maybe by adding some kind of parameter the .Execute won't
display the contents of the page.


Question 2
I know that you can 'trigger' asp pages that uses the .QueryString method
simply by calling them and adding the variables as part of the address
example: "http://www.weather.com/Local?ZIP=123456"

Is there any way of doing the same for an asp page that uses the .Form method
of retrieval, from a POST?

Thank you,
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,767
Messages
2,569,570
Members
45,045
Latest member
DRCM

Latest Threads

Top