473,396 Members | 2,036 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

Reading an external page response over HTTPS?

I know that an XML HTTP Request won't work to an external site.
Is there some other way that I can make a (different/other/any) request to this (HTTPS) site:
https://secure.logmeinrescue.com/SSO/GetLoginTicket.aspx?SSOID=monkey&CompanyID=1111&Pa ssword=monkey

and process the returned info?
I'm using xampp backend locally.

LogMeIn provide ASP code which can handle it but that's no good to me. It's here for reference:
Expand|Select|Wrap|Line Numbers
  1. string sSSOID = monkey;
  2.  
  3. string sSSOPassword = monkey;
  4.  
  5.  
  6.  
  7. System.Net.HttpWebRequest oReq =
  8.  
  9.     (System.Net.HttpWebRequest)System.Net.WebRequest.Create("https://secure.logmeinrescue.com/SSO/GetLoginTicket.aspx?SSOID=" + sSSOID + "&Password=" + sSSOPassword + "&CompanyID=11111");
  10.  
  11. System.Net.HttpWebResponse oResp = (System.Net.HttpWebResponse)oReq.GetResponse();
  12.  
  13. string sResp = new System.IO.StreamReader(oResp.GetResponseStream()).ReadToEnd();
  14.  
  15.  
  16.  
  17. if (sResp.StartsWith("OK:"))
  18.  
  19.     Response.Redirect( sResp.Substring("OK:".Length) );
  20.  
  21. else
  22.  
  23.     Response.Write( sResp );
Feb 20 '08 #1
1 1444
After much digging around I came across:
http://developer.yahoo.com/javascript/howto-proxy.html

Works a treat!!
Feb 20 '08 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

3
by: - Steve - | last post by:
If a user where to go to http://server/page.aspx I want to force them over to https://server/page.aspx. So those that didn't catch the subtle hint there, I want to move them over to the SSL page....
4
by: Wayne P. | last post by:
I'm working on a shopping cart webapp and I need to perform a form POST of data to a 3rd party site (a payment processor, StormPay). I seem to be having problems doing this. I have an image...
7
by: Ryan Taylor | last post by:
Hi. I have some code that dynamically generates a PDF and spits this content directly to the web browser. I use HTMLDoc to create the Pdf's from html. So the user can click on a button "Print...
0
by: Chris Carter | last post by:
Hi, I created this HttpHandler, very simple: using System; using System.Web; namespace HttpHandlerTest { public class HelloWorldHandler : IHttpHandler
5
by: Neil Rossi | last post by:
I have an issue with a particular ASP page on two web servers. Let's call these servers Dev1 and Beta1. Both Servers are running IIS 5, Windows 2000 SP4 with "almost" all of the latest patches. ...
6
by: scottyman | last post by:
I can't make this script work properly. I've gone as far as I can with it and the rest is out of my ability. I can do some html editing but I'm lost in the Java world. The script at the bottom of...
6
by: BizWorld | last post by:
Hi, I have a scenario where i need to configure only Login.aspx page to use SSL. All other application will run on HTTP protocol. If someone can guide me how to accomplish this. One of my idea...
3
by: Aaron | last post by:
I'm trying to parse a table on a webpage to pull down some data I need. The page is based off of information entered into a form. when you submit the data from the form it displays a...
2
by: =?Utf-8?B?YzY3NjIyOA==?= | last post by:
Hi all, What is the best way to lead customer from a regular page to a secured page? Regularly, we use absolute path. say first ,a customer is on this regular page for general information:...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.