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

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

by tomazos (Deacon)
on Aug 10, 2005 at 02:52 UTC ( #482501=note: print w/replies, xml ) Need Help??


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

Just use a packet sniffer.
  1. Download and install packet sniffer.
  2. Turn it on.
  3. Check the page successfully with Internet Explorer.
  4. Check the page unsuccessfully with the script.
  5. Turn off packet sniffer and inspect the two requests.

The differences in the headers of the two HTTP request-responses will tell you what is going wrong.

The one I use on a Windows client machine is called Smart Sniff.

-Andrew.

Andrew Tomazos  |  andrew@tomazos.com  |  www.tomazos.com
  • Comment on Re^2: Use LWP::UserAgent to go to a password protected ASP page

Replies are listed 'Best First'.
Re^3: Use LWP::UserAgent to go to a password protected ASP page
by Puma_perl (Acolyte) on Aug 10, 2005 at 14:32 UTC
    Thanks for your tips Andrew! Where can I get Smart Sniff?

    Puma_perl

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (2)
As of 2023-02-08 07:07 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I prefer not to run the latest version of Perl because:







    Results (40 votes). Check out past polls.

    Notices?