Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Re: Use LWP::UserAgent to go to a password protected ASP page

by davidrw (Prior)
on Aug 09, 2005 at 19:14 UTC ( #482381=note: print w/replies, xml ) Need Help??


in reply to Use LWP::UserAgent to go to a password protected ASP page

You can set the WWW-Authenticate (or any other) header in your HTTP::Headers object:
$h->header('WWW-Authenticate' => 'foo');
To see what values you need, try using the Live HTTP Headers plugin for firefox..

(Side note: WWW::Mechanize may make some of whatever you're trying to do a lot easier)

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (8)
As of 2020-06-04 21:49 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Do you really want to know if there is extraterrestrial life?



    Results (35 votes). Check out past polls.

    Notices?