Explorer doesn't run my perl cgi program like netscape does.

A

Allen

I have a fully tested and functional perl cgi program that works fine
using Netscape. However, when I click on a submit button in Explorer,
nothing happens at all. No logged messages, no error messages. I've
tried searching the internet for some answers but have found nothing
relevant yet. Does anybody have any ideas?
I amusing Netscape 7.1, but this company uses Explorer 6.00. Many
thanks in advance.
 
S

Sherm Pendley

Allen said:
I have a fully tested and functional perl cgi program that works fine
using Netscape. However, when I click on a submit button in Explorer,
nothing happens at all. No logged messages, no error messages. I've
tried searching the internet for some answers but have found nothing
relevant yet. Does anybody have any ideas?

First of all, are you certain that the problem is Perl-related? Perl
tends to complain *loudly* when things go wrong, so a failure that
leaves no traces in the error log is usually a clue to look elsewhere.

Check if the form is being submitted at all - if the CGI never runs, the
problem is guaranteed to be in the client. If it's in the client, check
for HTML errors - you *did* validate the HTML, right? And check for
JavaScript problems, especially if there's form validation or some funky
onSubmit scripting that could prevent the form from being sent if it's
buggy.

sherm--
 
A

Allen

Sherm Pendley said:
First of all, are you certain that the problem is Perl-related? Perl
tends to complain *loudly* when things go wrong, so a failure that
leaves no traces in the error log is usually a clue to look elsewhere.

Check if the form is being submitted at all - if the CGI never runs, the
problem is guaranteed to be in the client. If it's in the client, check
for HTML errors - you *did* validate the HTML, right? And check for
JavaScript problems, especially if there's form validation or some funky
onSubmit scripting that could prevent the form from being sent if it's
buggy.
I agree that is not a perl problem. It works perfectly well when using
Netscape or Mozilla. The form loads in Explorer no problem. The first
two sections of the CGI program produce the desired responses.
However, the final 'submit' button doesn't do anything in Explorer, in
Netscape it works as expected. I have validated the HTML.
 
A

Allen

Sherm Pendley said:
First of all, are you certain that the problem is Perl-related? Perl
tends to complain *loudly* when things go wrong, so a failure that
leaves no traces in the error log is usually a clue to look elsewhere.

Check if the form is being submitted at all - if the CGI never runs, the
problem is guaranteed to be in the client. If it's in the client, check
for HTML errors - you *did* validate the HTML, right? And check for
JavaScript problems, especially if there's form validation or some funky
onSubmit scripting that could prevent the form from being sent if it's
buggy.

I have managed to solve this problem and I thank everybody that
responded. microsh*t's IE was very particular where the 'end_form' was
located in the perl CGI script. The logic was fine and Netscape (of
course) ran it perfectly. IE on the other hand seems to be very
particular about where the 'end_form' was located.
 
W

wana

Check if the form is being submitted at all - if the CGI never runs, the
Maybe this is unrelated, but I had a problem with Konqueror when I
tried to pass a session id through the url:

$url = url()."?sess_id=$session_id";
print a({-href=>$url},'next page');

If I clicked on the link, the url would change in the url window at
the top, but the page would be unchanged until I clicked my mouse on
the url and hit enter. I did not have this problem with any other
browser (IE and Netscape) but I stopped using this code because I like
Konqueror otherwise.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,764
Messages
2,569,566
Members
45,041
Latest member
RomeoFarnh

Latest Threads

Top