Hello, I have certain questions related ASP such as:- 1.How can I send a variable to a remote server and store its response? 2.How can I POST form data to a server and collect its response in the same ASP page? 3.How do I POST data, Receive the results and continue processing in same ASP page? 4.Can U POST and receive a response in the same ASP Page? Thanks for any kind of help..
1. Use a querystring or post. Client would just bounce to http://www.aaa.com?varname=bbb and on the server you would get the variable like request.querystring("varname")... same with posting - just Post to the location with the variable inside the form - and request.form("varname") 2 and 3 are answered above 4. Yes, you can collect from Querystring and Form's at the same time
Request.ServerVariables("REQUEST_METHOD") will give you either "POST" or "GET" Look up Request.ServerVariables(). Bookmark it.