Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > Validation and posting to another site

Reply
Thread Tools

Validation and posting to another site

 
 
Scott Newberry
Guest
Posts: n/a
 
      11-06-2003
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


 
Reply With Quote
 
 
 
 
Jacob Yang [MSFT]
Guest
Posts: n/a
 
      11-06-2003
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/de...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.

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
succeed in across-domain posting from site a to site b usingwebclient,but one fail.. dotnet ASP .Net 0 08-21-2009 04:37 PM
Posting to remote site to login and then redirect to site BradM ASP .Net 2 05-30-2007 12:29 AM
posting form variables from site A to site B tamaker ASP General 4 06-20-2006 08:22 AM
Top Posting vs. Bottom Posting scaredkitty Computer Support 37 04-06-2005 12:27 AM
Everytime I hover cursro over a posting, it crosses out with red mark on it.. on every posting alanb ASP .Net 2 04-23-2004 02:23 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57