Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation

Re: issue with login to web site

by snoopy (Deacon)
on Nov 11, 2009 at 02:57 UTC ( #806393=note: print w/replies, xml ) Need Help??

in reply to issue with login to web site

This could be a similar problem to this thread: Mechanize, Forms, Links, problem from Javascript?. I.e. JavaScript is dynamically populating or altering the form.

If this is the case, you might consider a different tack. Instead of trying to fill in the form, doing the final form POST, using the post method.

To take this approach, you'll need to work out the final structure of the form and what gets posted. Some browser tools might help with this analysis. For example Firefox's plugins include Web Developer (show the form data just before it's posted) and Live HTTP Headers (show the actual post).

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://806393]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (8)
As of 2016-10-28 20:39 GMT
Find Nodes?
    Voting Booth?
    How many different varieties (color, size, etc) of socks do you have in your sock drawer?

    Results (387 votes). Check out past polls.