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

variables between sites

Status
Not open for further replies.

aamaker

Programmer
Jan 20, 2002
222
US
I have an ASP-based site and it uses databases to store some simple information... I need to be able to pass some variables from a 'registration' page of my site to another organizations Cold Fusion driven site, using POST method (they've given me 3 or 4 variable names to provide to them via POST...

They didnt give me a specific URL - but it seems that this should be my next question -- where to POST the data to...

Im struggling with HOW to pass the variables though... I mean I know how to use the querystring to do this, but in this scenario, querystring isnt an option... What else can I do here to send variables to the 3rd party site?


Thanks!
 
using POST the variables should be in form fields not querystrings.

If you haven't got a specific URI to log into, then probably the "home" URI is the one to use and the remote site handles the rest.

Chris.

Indifference will be the downfall of mankind, but who cares?
Woo Hoo! the cobblers kids get new shoes.
People Counting Systems

So long, and thanks for all the fish.
 
So all I need to do is setup some hidden form fields and set the values of those fields and have the 'action' attribute contain the Home URI or a specific URL they provide and automatically submit the form and that data (in the hidden form fields) will be passed to the other site?

in asp, how does the code look for them to retrieve the hidden form field vars? Same request.form() element Im used to using on my own projects?
 
I just tested it myself and it seems to work... I guess I assumed it was harder than it really is.

Thanks for the reply/feedback though
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top