Wrox Home  
Search P2P Archive for: Go

  Return to Index  

asp_web_howto thread: Passing data to another server


Message #1 by "Steve" <scalhoun@s...> on Tue, 27 Mar 2001 17:23:10 -0400
This is a multi-part message in MIME format.



------=_NextPart_000_0013_01C0B6E2.98B448F0

Content-Type: text/plain;

	charset="iso-8859-1"

Content-Transfer-Encoding: quoted-printable



How can I pass data to a server at another site (other than the "get" 

method)?






Message #2 by "Tim Morford" <tmorford@n...> on Wed, 28 Mar 2001 07:40:00 -0500
This is a multi-part message in MIME format.



------=_NextPart_000_0002_01C0B75A.4B16D0E0

Content-Type: text/plain;

	charset="iso-8859-1"

Content-Transfer-Encoding: 7bit



Hey I have done this many times ... basically you need to know where you are

sending it to if you are coming from a server request the server variables





refurl = Request.ServerVariables("HTTP_REFERER")

Session("refurl") = refurl



and then call it again



refurl = Session("refurl")



then I did a IF to see where it came form to send it to



if

refurl="http://homedev.boatingstore.com/boatingstore/TaylorMade/Boatcovers.a

sp" then



act 

"http://homedev.boatingstore.com/boatingstore/TaylorMade/tayloroptions.asp "



then I called it in the form





response.write "<form action=" & act & " Method='post'>"



I hope this helps



Tim



         -----Original Message-----

From: Steve [mailto:scalhoun@s...]

Sent: Tuesday, March 27, 2001 4:23 PM

To: ASP Web HowTo

Subject: [asp_web_howto] Passing data to another server





  How can I pass data to a server at another site (other than the "get"

method)?

  ---

  SoftArtisans helps developers build robust, scalable Web applications!

  Excel Web reports, charts: http://www.softartisans.com/excelwriter.html

  File uploads: http://www.softartisans.com/saf.html

  Transactional file management: http://www.softartisans.com/saf1.html

  Scalability: http://www.softartisans.com/saxsession.html

  ASPstudio value pack: http://www.softartisans.com/aspstudiosuite.html




$subst('Email.Unsub')









  Return to Index