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 gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Passing Parameters to forms and manipulating returned text

Status
Not open for further replies.

Johnnie100

Programmer
Dec 8, 2000
31
GB
Hello and help.

I would like to pass information(complete) to a form(html page) to access the logic and information underneath that form.

For example I would like to pass information, which has been received at my web page, to a rail company's web page to return the times the trains are from A to B.

How would I set about passing info to a set of fields on anothers web page(i.e. the train comp's)?
Can ASP handle this okay or are there other more appropriate tools and languages out there?
In what format is the data received back from the 'target form'? How do I handle the information returned from the web page - as a standard record set?

Thanks
Andy
 
Request.Form("formfield") will get the info from a POST form.

Request.QueryString("formfield") will get the info from a GET form

where formfield is
<input type=&quot;text&quot; name=&quot;formfield&quot;>

all the data will be recieved as strings

leo
 
So what your saying is that this method would work for accessing web pages of other companies on other IIS's from my web page(ASP project) on my IIS?

So accessing the underlying, relevant data from another company through accessing their website through mine!

Is this correct?

Cheers
 
Sure - you can post your information to another company's website, and as long as the other company's website has a recieving page for it, all the information will be processed.

Something like what you are doing can be seen at Yahoo!

when you perform a search, there are links at the bottom that allow you to perform that search on other websites. This in, in essence, is passing along that information to another site.

good luck -
leo
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top