Validation and posting to another site

S

Scott Newberry

I'm having trouble figuring out the best way to post to another site. I
have an aspx that collects information from the user, including credit card
info, etc. I need to perform validation on what I'm collecting, so I'd like
to take advantage of using server-side controls, but validation is performed
and a record or two are created in table, I need to post SOME of the data
from the aspx to another site (Verisign) for credit card processing. Then I
need to receive some information posted from Verisign to another page on my
site (which displays an order confirmation page). I was able to do this
just fine in classic ASP, but I'm at a loss with ASP.NET. Using C#. Any
takers?

Thanks in advance!

Scott
 
J

Jacob Yang [MSFT]

Hi Scott,

Based on my research and experience, we can make use of the HttpWebRequest
class in .NET to implement your task. In addition, to send data to the
Internet resource, use the GetRequestStream method, which returns a Stream
instance to use to send data.

Please check out the URL below for the detailed information and code
snippet.

HttpWebRequest Class
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/
frlrfsystemnethttpwebrequestclasstopic.asp

Best regards,

Jacob Yang
Microsoft Online Partner Support
Get Secure! ¨C www.microsoft.com/security
This posting is provided "as is" with no warranties and confers no rights.
 

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

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,580
Members
45,054
Latest member
TrimKetoBoost

Latest Threads

Top