in reply to Re: Seeking assistance with WWW::Mechanize Form Submission
in thread Seeking assistance with WWW::Mechanize Form Submission
I removed all existing cookies, disabled javascript and cookies in firefox prior to logging in, and was still able to successfully log in, so it doesn't look like javascript or cookie issue (even though the site does set a cookie per HTTP Watch).
I changed the structure of my form submission to this:
Still to no success. Is the above code functionally different than what I had been using earlier?$mech->submit_form( form_name => 'HashForm1', fields => { login_password => 'username', login_username => 'password', prefLanguage => '00000000', }, button => "submit", );
$mech->form_name('HashForm1'); $mech->field("login_username",'username'); $mech->field("login_password",'password'); $mech->field("prefLanguage",00000000); $mech->submit_form();
Thanks for the help so far, everyone. I'm looking into HTTP:Recorder right now, and I'm feeling like I'm moving at least a little toward a solution at this point.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Seeking assistance with WWW::Mechanize Form Submission
by Gangabass (Vicar) on Jan 16, 2013 at 06:55 UTC | |
by tspang (Initiate) on Jan 16, 2013 at 14:39 UTC | |
by Anonymous Monk on Jan 16, 2013 at 15:41 UTC | |
by Gangabass (Vicar) on Jan 17, 2013 at 13:27 UTC | |
by tspang (Initiate) on Jan 17, 2013 at 16:37 UTC | |
by Gangabass (Vicar) on Jan 22, 2013 at 02:55 UTC | |
by Anonymous Monk on Jan 22, 2013 at 03:30 UTC |