Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

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

by ranjan_jajodia (Monk)
on Aug 11, 2005 at 04:48 UTC ( #482847=note: print w/replies, xml ) Need Help??


in reply to Re^2: Use LWP::UserAgent to go to a password protected ASP page
in thread Use LWP::UserAgent to go to a password protected ASP page

Hmmm,
It is going to be difficult then. I can think of two things (I may be wrong totally):

1) See if adding cookies to the user agent solves it. You can use HTTP::Cookies
2)Try to make your useragent appear as IE or Firefox. I am not sure if it legal. Sincere apologies if it is illegal. Don't try until you figure that out. Regarding how to do it it should be something like,
$ua->agent("Mozilla/4.76 [en] (Windows NT 5.0; U)");

That is all that comes to my mind. Monks can any one help us on this.

Ranjan

--Let Logic Rule--

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others imbibing at the Monastery: (3)
As of 2020-06-05 19:25 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Do you really want to know if there is extraterrestrial life?



    Results (40 votes). Check out past polls.

    Notices?