in reply to Perl Mechanize login issue

Are you sure this is cert issue and not some kind of JavaScript issue? It's very hard to help you with this question so you need to debug it by yourself.

Did you try to login via browser with JavaScript disabled? Is it OK?

Also you can look at the HTTT headers (i use HttpFox add on for Firefox for this) and try to repeat this headers in your script.

Replies are listed 'Best First'.
Re^2: Perl Mechanize login issue
by jnofzinger (Initiate) on Jan 13, 2011 at 04:00 UTC
    I turned off js on my browser and it doesn't work and that's because it does a redirect after the login. I have already accommodated for the redirect in my code and this was working up until the day after the cert expired.
    <html> <body onload="javascript:submitAction();"> <form name="groupForm" method="post" action="/vzw-scat-ui/RedirectToGr +oup.do"><div><input type="hidden" name="org.apache.struts.taglib.html +.TOKEN" value="d61fa121c70d93339c7bc8fe53936299"></div> </form> </body> <script language="JavaScript"><!-- function submitAction(){ document.forms[0].submit(); } //--></script>

      So you just make a redirect after login or submit this second hidden redirect form?

        I submit the second form.