Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re: LWP::UserAgent can't login to phpbb forum

by UnderMine (Friar)
on Apr 03, 2008 at 09:43 UTC ( [id://678131]=note: print w/replies, xml ) Need Help??


in reply to LWP::UserAgent can't login to phpbb forum

First thing I would say is try to send similar headers not just the defaults.

User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; fr; rv:1.8.1.13) Gecko/20080311 Firefox/2.0.0.13
Referer: http://www.host.com/index.php

Are the two which definately need to be replicated as site may well reject login attempts if these are not what it considers valid. (i.e. bot attacks, search engines, etc)

Compare what you captured of you programs packets with Firefox's conversation. Without having both it is very hard to tell what is actually happening rather than what you think is happening.

UnderMine

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others cooling their heels in the Monastery: (6)
As of 2024-03-28 21:23 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found