Problem solve Get help with specific problems with your technologies, process and projects.

How can an ASP.NET Web app collect info and send it to another site via SSL using an HTTPS POST?

I am working on an e-commerce Web site using the ASP.NET code behind approach, and I want to send information on a secure SSL Web site for credit card verification using the POST method. I also do not want to lose RunAt server. Please tell me way how can I solve this problem.
It sounds to me like you are developing an ASP.NET Web application that collects the credit card information and then sends it to another site via SSL using an HTTPS POST. If this is the case, you will want your site to run under HTTPS as well, because you don't want clients transmitting credit card information to your site unless it's encrypted. There's no work required for the code-behind code. All the data is encrypted by the browser and decrypted on the Web server before it gets to your code. Now, if your site is the one processing the information, you're ready to go. If you need to forward data to another site for processing and that site is accessed via HTTPS POSTs, then you have some work to do. You'll need to simulate what a browser would do to send the data to the credit card processing site. You can do this using the System.Net.HttpWebRequest class.

Dig Deeper on ASP.NET development best practices

Have a question for an expert?

Please add a title for your question

Get answers from a TechTarget expert on whatever's puzzling you.

You will be able to add details on the next page.

Start the conversation

Send me notifications when other members comment.

Please create a username to comment.