External formpost with input

  • Thread starter Thread starter Bruce Arp
  • Start date Start date
B

Bruce Arp

I am in need of a little help with a form post. What I need to do is this:

1. Post a couple values to an external website form.

2. External website will process the values posted and if needed, load an
form of its own that the end user will need to enter some info into and
submit.

3. External website will post back to a form on my website and I will
process and continue with the users session from there.

I have tried passing the form values to the external website through the url
with a response.redirect and it does not accept querystring inputs, it has
to be posted to it. I know I can have my server post to the external server
and get a response back and then have my server continue on, but my problem
is step 2 where depending on what I post to the external server, I may need
the user to do some input on that server and then come back to me and it all
has to be done in the same window, I can not have a popup or anything.

I can do this in "classic" asp by simply changing the form action, but I can
not figure this out in asp.net

Any help is appreciated.

Bruce
 
Simply remove the runat=server attribute from your form, and you can change
the action attribute to post elsewhere. The price you pay is that you will
no longer be able to use web controls - you can only use html controls.
 
Back
Top