[Phplib-users] Templates/SSL/IE5 Problem
Brought to you by:
nhruby,
richardarcher
From: Andrew C. <An...@Ev...> - 2002-01-11 07:32:11
|
I wrote a PHP script (standalone, no phplib components) to accept some data input through a secure (SSL) web form, present that information for review, and then process it. It works great. I modified the script so that it uses phplib templates (from phplib version 7.2d) for all of the output (the original form, the review page, and the final results page.) It works great ... except in IE 5 for Windows. In IE 5, the initial form loads fine. I fill in some data and press the submit button. IE pops up a dialogue that says: >You are about to leave a secure internet connection. It will be possible >for others to view the information you send. [Yes] [No] [More Info] This message should not appear. The connection is secure (well, as secure as it gets for web transactions - I know Bruce Schnier would have comments.) I changed all of the relative references in my template to absolute references, including the "https://". I changed all the graphics in the page and even the reference for the style sheet. So, I see nothing in the page that should cause it to retrieve anything via anything but https. If I hit "Yes" in response to the dialogue, I get a "this page cannot be displayed" error page, culminating in this error message: >Cannot find server or DNS Error I can then hit refresh and get back to the blank form with all input lost. If I hit "No" in response to the pop-up dialogue, it returns to the populated form and lets me try again. Either way, on the second try, there is no pop-up dialogue and the script proceeds as it should (as it does in all other browsers I have tested, including IE 5 for MacOS.) When submitting the okay for the review, the same thing happens. The problem disappears when accessing the same form with a regular http connection. So, this appears to be a problematic interaction among IE 5, SSL, and phplib templates. I loathe IE for always being part of problems like this but, it is in such widespread use, I have to support it. Anyone have any guesses about what might be causing this or how I can fix it? This is my first foray into using phplib templates (though I have been using phplib for other things for quite some time) so, this could easily be a known issue or a stupid user problem. I will be hesitant to use phplib templates in other projects until I can figure out what is wrong here. So, any insight would be appreciated. BTW, I notice that the initial comments block in template.inc appears to contain the wrong description: >/* > * Session Management for PHP3 > * > * (C) Copyright 1999-2000 NetUSE GmbH > * Kristian Koehntopp > * > * $Id: template.inc,v 1.5 2000/07/12 18:22:35 kk Exp $ > * > */ Shouldn't it be "Templates for PHP" or something rather than "Session Management?" Thank you for any suggestions you can render. Andrew Crawford An...@Ev... |