Reading in an HTML page from CGI Scripts

G

Guest

Hopefully someone has had to handle this type of situation in .NET before. I have an ASP.NET (VB.NET) that has an interface to an API CGI script program. I send a credit card number, amount, etc to the API via a HTML interface doing a form post to that specific server and port. The API passes the parameters and then processes the transaction to the database of the program. It then returns an HTML page (all hidden) back to me in the post back with approval, etc type information. I have everything worked out except for the last piece. When it comes back to me, I do not know how I can read the "Blank" form (with hidden fields), and then make it go away so the end user only sees that the credit card transaction went through. Bottom line - how can I parse a NON-ASP.NET HTML page and then control it to say redirect to an ASPX page. I have been searching, but I just can not seem to ask the right question

Thanks!
 
K

Kevin Spencer

In short, use Regular Expressions.

--
HTH,
Kevin Spencer
..Net Developer
Microsoft MVP
Big things are made up
of lots of little things.

Brent V said:
Hopefully someone has had to handle this type of situation in .NET before.
I have an ASP.NET (VB.NET) that has an interface to an API CGI script
program. I send a credit card number, amount, etc to the API via a HTML
interface doing a form post to that specific server and port. The API passes
the parameters and then processes the transaction to the database of the
program. It then returns an HTML page (all hidden) back to me in the post
back with approval, etc type information. I have everything worked out
except for the last piece. When it comes back to me, I do not know how I can
read the "Blank" form (with hidden fields), and then make it go away so the
end user only sees that the credit card transaction went through. Bottom
line - how can I parse a NON-ASP.NET HTML page and then control it to say
redirect to an ASPX page. I have been searching, but I just can not seem to
ask the right question.
 

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

Top