in reply to Re^2: Perl Mechanize login issue
in thread Perl Mechanize login issue

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

Replies are listed 'Best First'.
Re^4: Perl Mechanize login issue
by jnofzinger (Initiate) on Jan 13, 2011 at 15:01 UTC
    I submit the second form.

      You need to look at the HTTP headers your browser sends to the target site (in HttpFox) and repeat all this headers in your code. For example, this may be User-Agent or x, y coordinates of the submit button sended to the target site...

      Also you can try to investigate it with disabled JavaScript in your browser: Firebug (add-on for Firefox) allow you to add HTML to the code. So you may try to add submit button to your second form and press it.

        I was able to resolve this with LWP::ConnCache
        $agent->conn_cache(LWP::ConnCache->new());