VTV has asked for the wisdom of the Perl Monks concerning the following question:
And as far as i figured out problem is because they don't use submit button but <input type=image> and as for my robot text it goes like this<form name="Form1" method="post" action="default.aspx" id="Form1"> <input type="hidden" name="__VIEWSTATE" value="dDwtM" /> <input name="tbLogin" type="text" size="14" id="tbLogin" /> <input name="tbPassword" type="password" size="14" id="tbPassword" /> <input type="image" name="btLogin" id="btLogin" src="/vr/images/bt_ent +er.jpg" alt="" style="border-width:0px;border-style:None;" /> </form>
And all the time my robot get reply that it performed illegal login operation, and wouldn't go through loging process. I think that it' because i don't specify btLogin in post method of browser, but there is no value to put with it... Their site is in ASP.net.my $response = $browser->post( $url, [ 'tbLogin' => 'value', 'tbPassword' => 'value', '__VIEWSTATE' => 'value', ] );
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: LWP browser problem
by inman (Curate) on Nov 03, 2005 at 14:57 UTC | |
|
Re: LWP browser problem
by slayven (Pilgrim) on Nov 03, 2005 at 20:57 UTC |