Welcome to WebmasterWorld Guest from 50.16.68.229

Forum Moderators: ocean10000

Classic ASP posting variables to another web server

how do you?

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

10+ Year Member



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....

response.redirect("updatedDynamicPage.asp")
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)

WebmasterWorld Senior Member 10+ Year Member



This should get you in the right direction:

[4guysfromrolla.com...]

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

10+ Year Member



Cheers mattglet - that looks just the ticket :)
 

Featured Threads

Hot Threads This Week

Hot Threads This Month