By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
440,592 Members | 1,931 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 440,592 IT Pros & Developers. It's quick & easy.

External formpost with input

P: n/a
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
Nov 17 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
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.

--
Chris Jackson
Software Engineer
Microsoft MVP - Windows XP
Windows XP Associate Expert
--
"Bruce Arp" <ba**@westonfire.com> wrote in message
news:%2***************@tk2msftngp13.phx.gbl...
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

Nov 17 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.