473,387 Members | 1,742 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,387 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 2209
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: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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: 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
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
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

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.