form post

G

guoqi zheng

I know in webclient class, there is a possibility to post form data to a
remote url, but how can I not only just post, I need to redirect user to
that page as well.

So what I want is just like a user click submit button of a regular html
form and this form post to a remote URL, user will go there as well...

How can I do this? any example??

regards,

Guoqi Zheng
http://www.ureader.com
 
S

Scott Allen

Hi Guogi:

After you post with the WebClient class (and presumably retrieve some
values from the response), you could just Reponse.Redirect to the
other URL. If you want to pass along cookie information though, you'll
have problems.
 

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

Forum statistics

Threads
473,774
Messages
2,569,599
Members
45,175
Latest member
Vinay Kumar_ Nevatia
Top