Secure Sockets on Apache
Does anyone know the object syntax for converting this IIS code to Apache?
We have a small e-commerce site that uses a 3rd party payment gateway service.
The gateway requires data to be sent via a POST over a secure socket.
We have a test version of the site running on IIS, but our hosting provider
runs Apache on Linux and as such does not support the WinHttp object.
'create POST string
PostData = "VarName1=" & varValue1 & ";VarName2=" & varValue2 ...etc
'create sockets object and send data
set objWinHttp = Server.CreateObject("WinHttp.WinHttpRequest.5")
objWinHttp.Open "POST", "https://gatewaysite.com/transact.dll?" & PostData
'get response back
strResponse = objWinHttp.ResponseText
Our hosting provider is running mod_ssl and supports VBScript and ASP on
their Apache installation.
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL