Chris,

Thank you kindly for your response.

> HTTP is a somewhat stateless protocol, so in general
the 
> post->template->post
> round trip is perfectly safe.

It is actually
post->template->post->template

Not sure if that makes a difference though.  Also it
is not clear to me how it being a stateless protocol
implies that the round trip is OK.  I am a newbie
though, so don't worry about explaining the whole
background unless it can be reduced to a one-liner.
:-)


> As far as I can tell, you seem to be doing things
just fine.  Does the 
> error
> show up without SSL?  Does it show up in non-IE
browsers?  You do not,
> perchance, have any load-balancers in the equation
do you?  They can 
> sometimes
> screw up SSL sessions.

The error does NOT show up if I do not use SSL.  Also,
it does NOT show up in Firefox, with or without SSL. 
I also gave it a spin on Opera using SSL and it worked
fine.  So just the combination of SSL on IE, so far.

What are load-balancers?  I just mailed the hosting
company asking if they use load-balancers just so I
can get a yes or no, which I will mail here later.



> error?  Does anything show up in the server logs?

This is bizzare, but the hosting company says on their
support page that they no longer provide error logs. 
I will call them tomorrow and ask about it.



> Is there any more detail in the error message 
> than "The
> Page Cannot Be Displayed"?  Is it an IE error or IE
reporting a 
> server-side error? 


The error message is the pretty familiar IE "The page
cannot be displayed" error page.  Right-clicking the
page and checking the properties, the URL is as
follows:
res://C:\WINDOWS\system32\shdoclc.dll/dnserror.htm#https://ssl.somedomain.com/forms/Scripts/SubmitData.cgi

The title in IE's title bar is Cannot find server.

I am not sure if this is an IE error or IE reporting a
server-side error.  It is a very normal-looking IE
error page, that most people are probably familiar
with but never read in detail (myself included!).

Here is the entire message on the page, bounded by the
lines of asterisks.
*******************
The page cannot be displayed 
The page you are looking for is currently unavailable.
The Web site might be experiencing technical
difficulties, or you may need to adjust your browser
settings. 

--------------------------------------------------------------------------------

Please try the following:

Click the  Refresh button, or try again later.

If you typed the page address in the Address bar, make
sure that it is spelled correctly.

To check your connection settings, click the Tools
menu, and then click Internet Options. On the
Connections tab, click Settings. The settings should
match those provided by your local area network (LAN)
administrator or Internet service provider (ISP). 
See if your Internet connection settings are being
detected. You can set Microsoft Windows to examine
your network and automatically discover network
connection settings (if your network administrator has
enabled this setting). 
Click the Tools menu, and then click Internet Options.

On the Connections tab, click LAN Settings. 
Select Automatically detect settings, and then click
OK. 
Some sites require 128-bit connection security. Click
the Help menu and then click About Internet Explorer
to determine what strength security you have
installed. 
If you are trying to reach a secure site, make sure
your Security settings can support it. Click the Tools
menu, and then click Internet Options. On the Advanced
tab, scroll to the Security section and check settings
for SSL 2.0, SSL 3.0, TLS 1.0, PCT 1.0. 
Click the  Back button to try another link. 



Cannot find server or DNS Error
Internet Explorer  
*******************

Thanks again, any advice is appreciated!
Arka




> Message: 2
> 
> Date: Sun, 04 Sep 2005 16:35:50 -0400
> From: Chris Beck
<[EMAIL PROTECTED]>
> To: html-template-users@lists.sourceforge.net
> Subject: Re: [htmltmpl] Chain of forms, scripts and
templates
> 
> Hi Arka,
> 
> HTTP is a somewhat stateless protocol, so in general
the 
> post->template->post
> round trip is perfectly safe.
> 
> As far as I can tell, you seem to be doing things
just fine.  Does the 
> error
> show up without SSL?  Does it show up in non-IE
browsers?  You do not,
> perchance, have any load-balancers in the equation
do you?  They can 
> sometimes
> screw up SSL sessions.  Is there any more detail in
the error message 
> than "The
> Page Cannot Be Displayed"?  Is it an IE error or IE
reporting a 
> server-side
> error?  Does anything show up in the server logs?
> 
> 
> Rumour has it Arka Roy, on or about 04/09/2005 7:51
AM, whispered:
> > Hi!
> >  
> > I am an experienced C/C++ PC application
programmer but a complete
> > newbie to Perl, CGI, HTML::Templates, and internet
programming 
> generally.
> >  
> > I have created a simple sequence of forms, CGI
scrips, and templates.  
> I
> > am sometimes getting an error displaying the final
template in 
> Internet
> > Explorer when it is used under SSL.  The
"sometimes is the 
> disconcerting
> > part.
> >  
> > My question here is not so much about SSL, but if
what I am doing is
> > valid in the first place.
> > To sum up here is what I am doing.
> >  
> > HTML file with form -> cgi script -> template with
form -> cgi script 
> ->
> > template
> >  
> > I am passing data from the forms to cgi via "post"
and then using the
> > Perl CGI "param" command.  I am passing data from
CGI to templates 
> using
> > $template->param().
> >  
> > I get the "The page cannot be displayed" error in
IE at the last 
> step,
> > ie. when the last CGI script is trying to display
the last template.
> >  
> > The gory details are below, for your reference. 
But my question is
> > pretty basic.  Is is OK to display a template with
a form in it, call 
> a
> > CGI from that form, and have that CGI display
another template?
> >  
> > Thanks,
> > Arka Roy
> >  
> > ----------------
> > Access: https://ssl.somedomain.com/Login.html
> >  
> >   |
> >   |
> >   V
> >  
> > Login.html
> > ---------
> > - user fills form
> > - user presses submit
> >  
> >   |
> >   |
> >   V
> >  
> > DisplayForm.cgi
> > ---------
> > my $template = HTML::Template->new( filename =>
'Form.tmpl' );
> > $template->param( displayValue => $myValue );
> > print "Content-Type: text/html\n\n";
> > print $template->output;
> >  
> >   |
> >   |
> >   V
> >  
> > Form.tmpl
> > ---------
> > - displays <tmpl_var name="displayValue">
> > - user fills form
> > - user presses submit
> >  
> >   |
> >   |
> >   V
> >  
> > SubmitData.cgi
> > ---------
> > my $template = HTML::Template->new( filename =>
'SubmitDone.tmpl' );
> > $template->param( displayResult => $myResult );
> > print "Content-Type: text/html\n\n";
> > print $template->output;
> >  
> >   |
> >   |
> >   V
> >  
> > SubmitDone.tmpl
> > ---------
> > - displays <tmpl_var name="displayResult">
> 
> 



        
                
______________________________________________________
Click here to donate to the Hurricane Katrina relief effort.
http://store.yahoo.com/redcross-donate3/


-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
Html-template-users mailing list
Html-template-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/html-template-users

Reply via email to