-
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.
Code:
'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
objWinHttp.Send
'get response back
strResponse = objWinHttp.ResponseText
Our hosting provider is running mod_ssl and supports VBScript and ASP on
their Apache installation.
Any ideas?
Thanks,
Fred
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
Forum Rules
|
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
|
Bookmarks