in reply to Re^4: Re: Switch.pm Failure ( CGI::Switch? )
in thread Switch.pm Failure ( CGI::Switch? )

Paste into an html file. Click on the "click" at bottom of frame. It connects. Click Me Just demonstrates that the CGI responds, This is what is responding:
#Login User ($action eq "LoginUser") && do { #Attempt the login manageusers::OpenConnection(); warn("Opening The Login Usr Query: $query"); my ($result, $login_timeout) = LoginUser($query); if ($result == 0){ manageusers::CloseConnection(); warn("Login failed. Creating response."); CreateLoginUserFailedForm("The Login User Name or Password +is invalid. Please try again or contact the office."); return; #exit; }

Replies are listed 'Best First'.
Re^6: Re: Switch.pm Failure ( CGI::Switch? )
by huck (Prior) on Feb 28, 2017 at 01:13 UTC
      Solved. The "submit" button on the login form was a type button not a type submit. I would never have done this and it would never have worked before. I think some folks at the hosting company messed around wit my pages. I found other stuff in the perl scripts that were wrong and would never have worked. www.jala-mi.org admin dibble. I will change it tomorrow. Rake a peek. Still needs polishing. Best regards

        The missing validate function could have included something like this

        document.getElementsByName("authenticateuserform")[0].submit();
        Untested, YMMV

Re^6: Re: Switch.pm Failure ( CGI::Switch? )
by tultalk (Monk) on Feb 28, 2017 at 02:47 UTC
    Hi: Just did links for all 7 calls in tree and they all worked Something wrong with my form structure for login. Narrowed it down so should not be a big deal to isolate. Thanks for all the help Best regards