Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Request.QueryString Posting results to another asp page

Status
Not open for further replies.

megg

Programmer
Dec 4, 2002
1
GB
I have a VB DLL which I written that will sit on a server running in COM plus and will be called by a VB client application, which is fine, but also this DLL has to called by a COBOL program (which I know very little about) using binary data requests.

Due to this it has been decided that the cobal application will make a call to a asp page sitting on the server which using request.querystring will extract the request.

I can't seem to find a way of using the post method to call another asp that does all the calls to the DLL etc, without using a submit button which I don't want, because there won't be any user intervention so far I have this:

<html>
<head>
<meta NAME=&quot;GENERATOR&quot; Content=&quot;Microsoft Visual Studio 6.0&quot;>
</head>
<form name=&quot;FrmPost&quot; method=&quot;post&quot; action=&quot;Postresults2.asp&quot;>
<P><INPUT TYPE=&quot;Submit&quot; NAME=&quot;submit&quot; VALUE=<%=Request.QueryString%>></p>
</form>
</body>
</html>
How can I just post to the next page without the button.

My second asp page uses Request.BinaryRead, maybe I can put it all into one asp, I'm not sure.

Thanks for any advice
 
This sounds a bit wrong! After all, there is nothing that the VB code cannot do that ASP can. However...

This problem is what XML Web Services technologies (SOAP et. al.) are trying to address. Of course, your Cobol App would need to be able to raise an HTTP request, passing some XML as data. It would then recieve a reply also in XML format. Under .Net, a binary level call is only supported using the '.Net Remoting' technology - of which I know very little.

You can use an ASP page as an intermediary. I used the XMLDOM objects (in a VB app) to construct the XML data, and to create an HTTP connection to a remote ASP page over which the data is sent. The ASP page uses XMLDOM to construct the reply.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top