Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

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

by davidrw (Prior)
on Aug 09, 2005 at 19:14 UTC ( [id://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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://482381]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others sharing their wisdom with the Monastery: (5)
As of 2024-03-28 16:35 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found