homepage Welcome to WebmasterWorld Guest from
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member
Visit PubCon.com
Home / Forums Index / Microsoft / Microsoft IIS Web Server and ASP.NET
Forum Library, Charter, Moderators: ocean10000

Microsoft IIS Web Server and ASP.NET Forum

Classic ASP posting variables to another web server
how do you?

 12:15 pm on Dec 16, 2005 (gmt 0)

Is it possible in classic ASP to submit a form to a page on my server do some processing, submit some variables to another site with a post/get and then send the user to a page on my site.

I can't use response.redirect to the other server as I need the user to end up on my site.

Pseudo code is currently something like:

if request("doProcess") then
writeToDateBase(load of variables)
writeATextFile(load of variables)

postDataToOtherWebServer(load of variable) ' this is the function I need to work out....

end if

ideally I just want to hit the other server with a "get" so I just request the url: othersite.com/page.asp?variable1=avalue-etc

Does anyone know how best to do that?



 12:36 pm on Dec 16, 2005 (gmt 0)

This should get you in the right direction:



 1:27 pm on Dec 16, 2005 (gmt 0)

Cheers mattglet - that looks just the ticket :)

Global Options:
 top home search open messages active posts  

Home / Forums Index / Microsoft / Microsoft IIS Web Server and ASP.NET
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved