| Dart Home | PowerTCP Web for ActiveX | Custom Development | Reply | PowerTCP Web for ActiveX Topics | Forums |
| Author | Forum: PowerTCP Web for ActiveX Topic: HTTPS Use |
| MSloper From: Amityville, NY USA Posts: 14 Member Since: 05/20/06 |
posted June 2, 2006 6:13 AM So I've got things working now with the being able to log onto an HTTPS enabled site. The response displayed in an IE browser is -the expected page- but using "View Source" I see the following: <?xml version="1.0" encoding="ISO-8859-1" ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title>Navy Federal Credit Union</title> <link rel="icon" href="https://www.navyfcu.org/favicon.ico" type="image/x-icon" /> <link rel="shortcut icon" href="https://www.navyfcu.org/favicon.ico" type="image/x-icon" /> </head> <frameset rows="130,*" border="0"><!-- Non-standard "border" attribute added for Opera --> <frame name="UPPER" src="/cgi-bin/ifsewwwc?Atop&token=9CD39829347F6674" marginheight="0" marginwidth="0" frameborder="0" noresize="noresize" /> <frame name="LOWER" src="/cgi-bin/ifsewwwc?AccountSummary&token=9CD39829347F6674" marginheight="0" marginwidth="0" frameborder="0" /> <noframes><body><p>You must have frames enabled to view this website.</p></body></noframes> </frameset> </html> In the app I've writting using in Visual Studio, VB.Net, the 'content' response I see is exactly the same. Is there a way to see the html of the actually displayed page or is this as close to the HTTPS content I can get? If there's another way how do I do it? There does not appear to be a 'submit' type function on the displayed page, only hyperlinks, so I need to see the href's ... |
Tony Priest![]() From: Utica, NY USA Posts: 8466 Member Since: 04/11/00 |
posted June 3, 2006 11:11 AM You are looking at a Frameset. Each frame has it's own source. If you search for '<frame name=', then from there 'src="', you will have the url for the page that is within the frame. |
| MSloper From: Amityville, NY USA Posts: 14 Member Since: 05/20/06 |
posted July 7, 2006 7:43 AM OK, (been on travel) so now I've written the code so that upon "Post"ing my password/login and then receiving the frameset, the code parses for the 'src=' text and then immediately tries to pull in one of the page of the frameset. Since there is a '?' in the parsed text I ended up using a 'Get' here. (Tried a 'Post' just the same but it didn't work.) But while the 'Get' code did provide a coherent response ("Sign on Retry? Session Timeout. New Sign-On Required....") the remote server didn't give me the single page I was expecting, and basically found something wrong with how I am requesting the single page in the frameset. What am I doing wrong? |
Tony Priest![]() From: Utica, NY USA Posts: 8466 Member Since: 04/11/00 |
posted July 7, 2006 8:56 AM If this were not https I would recommend getting a utility like "Httplook" or "Ethereal" to sniff an IE session to see the requests and responses. Is there a way that you can do something similar to a non-secure site and monitor it? |
| MSloper From: Amityville, NY USA Posts: 14 Member Since: 05/20/06 |
posted July 7, 2006 3:42 PM Aggh! From your response it sounds as though you answered an implicit question, 'Can I use Ethereal (or anything) to monitor HTTPS traffic?' Answer sounds like: 'No' Can you offer any reason why this frameset will load in MS IE (and other frameset enabled browsers) but not programmatically using the Web Tool component? |
| MSloper From: Amityville, NY USA Posts: 14 Member Since: 05/20/06 |
posted July 10, 2006 7:10 AM I figured it out. Although you couldn't see it in the source html I sent earlier the ampersand was spelled out (eg "&") as sometimes happens in (I think) Java created html. As I parsed the 'src=' value and attached it to the 'Get' the '&' didn't automatically become replaced by simply '&'. When I used the vb 'replace' function on the 'src=' string, before I attached it, it worked fine. Thanks for your patience. |
| MSloper From: Amityville, NY USA Posts: 14 Member Since: 05/20/06 |
posted July 10, 2006 7:12 AM It does(!) get automatically read properly as I post here!! The problem was that the '&' showed up as '&_a_m_p_;' (without the underscores). |
| Reply | PowerTCP Web for ActiveX Topics | Forums |
This site is powered by
PowerTCP WebServer for ActiveX
|