Re: SSL/Response Object/data to client
From: Mark Schupp (nospan_at_nospam.com)
Date: 03/21/05
- Next message: Thomas: "Re: IIS6 & ASP: accessing network files with FSO fails"
- Previous message: Steve: "Re: Can a web user can be logged on as an account other than IUSR_?"
- In reply to: Stefan Berglund: "SSL/Response Object/data to client"
- Next in thread: Stefan Berglund: "Re: SSL/Response Object/data to client"
- Reply: Stefan Berglund: "Re: SSL/Response Object/data to client"
- Reply: Stefan Berglund: "Re: SSL/Response Object/data to client"
- Messages sorted by: [ date ] [ thread ]
Date: Mon, 21 Mar 2005 12:58:22 -0800
Have you tried saving in XML format as the following example does?
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/ado270/htm/mdhowstep3senddata.asp
also try just echoing the raw data from within the vb app to see what is
actually being sent (use XMLHTTPRequest to get data instead of recordset).
--
Mark Schupp
Head of Development
Integrity eLearning
www.ielearning.com
"Stefan Berglund" <keepit@in.thegroups> wrote in message
news:kc6u319jg3ojl1sqchc2k1rhpiihc6u496@4ax.com...
> This may not be the right group for this since the ASP part of the
equation
> seems to be working as it should, but at the very least perhaps someone
will
> point me to the correct group or even better, a solution.
>
> I've been using the following technique to return a recordset from a web
based
> SQL Server to my app.
>
> ASP (no HTML):
>
> <%Option Explicit%>
>
> <!--#include file="inc/asp_head.asp" -->
> <!--#include file="inc/asp_connect.asp" -->
> <%Dim rs: Set rs = cn.Execute("get_SomeData " &
> LikePhrase(ValidateInputString(Request.QueryString("ShowTitle"),"")))
> rs.Save Response: rs.Close: Set rs = Nothing: cn.Close: Set cn =
Nothing%>
>
> VB app:
>
> rs.Open "http://" & frmMain.IP_Main & "/someASP.asp?ShowTitle=" &
> URLEncode(frmMain.ShowTitle)
>
> At this point the app can use the recordset that was passed
> through the Response object just like any other recordset.
>
> The problem comes about when attempting to use https in place of http. As
I
> said, the ASP shows every indication of working since I can see the data
in a
> browser window but the recordset is empty/non-existent in the client app.
I've
> tried the URL= as in rs.Open "URL=https://... and found docs that seem to
> indicate that this worked in the days of RDS, but I've been unsuccessful
in
> googling anything appropriate. Can anyone shed any light on this or offer
an
> alternative methodology to obtaining data securely from the Internet?
>
>
> ---
> Stefan Berglund
- Next message: Thomas: "Re: IIS6 & ASP: accessing network files with FSO fails"
- Previous message: Steve: "Re: Can a web user can be logged on as an account other than IUSR_?"
- In reply to: Stefan Berglund: "SSL/Response Object/data to client"
- Next in thread: Stefan Berglund: "Re: SSL/Response Object/data to client"
- Reply: Stefan Berglund: "Re: SSL/Response Object/data to client"
- Reply: Stefan Berglund: "Re: SSL/Response Object/data to client"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|