473,406 Members | 2,390 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,406 software developers and data experts.

how to send a HTTP request to a external site page?

hi there,

i have a form on my site, which has 4 hidden textboxes.
when a user clicks a button, i want to submit these 4 textboxes to a secure
page on another website.

I think i should be using HTTPRequest method, but dont know how to go about
it.

Any code example appreciated

thanks,
Paul
Nov 18 '05 #1
4 2211
You can post to another web site using the WebRequest object.

Here's a couple examples:
http://www.dotnet247.com/247referenc.../19/95431.aspx
http://www.west-wind.com/presentatio...WebRequest.htm

--
I hope this helps,
Steve C. Orr, MCSD, MVP
http://Steve.Orr.net

"Paul M" <mi******@hotmail.com> wrote in message
news:OY*************@tk2msftngp13.phx.gbl...
hi there,

i have a form on my site, which has 4 hidden textboxes.
when a user clicks a button, i want to submit these 4 textboxes to a secure page on another website.

I think i should be using HTTPRequest method, but dont know how to go about it.

Any code example appreciated

thanks,
Paul

Nov 18 '05 #2
You can post to another web site using the WebRequest object.

Here's a couple examples:
http://www.dotnet247.com/247referenc.../19/95431.aspx
http://www.west-wind.com/presentatio...WebRequest.htm

--
I hope this helps,
Steve C. Orr, MCSD, MVP
http://Steve.Orr.net

"Paul M" <mi******@hotmail.com> wrote in message
news:OY*************@tk2msftngp13.phx.gbl...
hi there,

i have a form on my site, which has 4 hidden textboxes.
when a user clicks a button, i want to submit these 4 textboxes to a secure page on another website.

I think i should be using HTTPRequest method, but dont know how to go about it.

Any code example appreciated

thanks,
Paul

Nov 18 '05 #3
you can use Server.Redirect() method with encrypted queryString

"Paul M" <mi******@hotmail.com> дÈëÏûÏ¢
news:OY*************@tk2msftngp13.phx.gbl...
hi there,

i have a form on my site, which has 4 hidden textboxes.
when a user clicks a button, i want to submit these 4 textboxes to a secure page on another website.

I think i should be using HTTPRequest method, but dont know how to go about it.

Any code example appreciated

thanks,
Paul

Nov 18 '05 #4
you can use Server.Redirect() method with encrypted queryString

"Paul M" <mi******@hotmail.com> дÈëÏûÏ¢
news:OY*************@tk2msftngp13.phx.gbl...
hi there,

i have a form on my site, which has 4 hidden textboxes.
when a user clicks a button, i want to submit these 4 textboxes to a secure page on another website.

I think i should be using HTTPRequest method, but dont know how to go about it.

Any code example appreciated

thanks,
Paul

Nov 18 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: Erik T. Nomad | last post by:
I've created a link that will enable the reader of any page on my website to click it, enter an e-mail address, and have it arrive in that inbox with a hyperlink to the site. However, I'm...
1
by: Kenshin | last post by:
Hey! I have another script where i pull all the information from the database and I want to send it to the person. What they do is they enter in their email, and if the email matches, than it will...
1
by: Nicolae Fieraru | last post by:
Hi All, I am working on a script and I have a form to a page to be submitted (POST-ed) to an external site. I need that when the user submits the form, first step is to send an email using an...
6
by: DigitalRick | last post by:
I have been running CDONTS in my ASPpages to send emails to me sent from my guestbook. It had been working fine untill I upgraded to Server 2003 (I am also running Exchange 2003) all locally. I...
2
by: Paul M | last post by:
hi there, i have a form on my site, which has 4 hidden textboxes. when a user clicks a button, i want to submit these 4 textboxes to a secure page on another website. I think i should be...
9
by: eswanson | last post by:
I have a web page I need to post a file plus some other fields to it. How can I do this from a asp.net page. I know I can send individual fields to the other page, but how do I send a file to the...
14
by: supz | last post by:
Hi, I use the standard code given below to send an email from an ASP.NET web form. The code executes fine but no Email is sent. All emails get queued in the Inetpub mail queue. I'm using my...
4
by: James Page | last post by:
I can't seem to get HtmlTextWriter / renderControl to work for sending a control (html) in an e-mail messsage (VB.NET). Keeps telling me that control needs to be in a form tag with runat server...
3
by: keith.schincke | last post by:
I know I must be missing something basic. I am developing of Firefox 1.5 and am trying to to send a basic QUERY_STRING to a test CGI that will print the data back to the brower: I can print my...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.