Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
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
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 making s'mores by the fire in the courtyard of the Monastery: (4)
As of 2020-05-30 18:39 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    If programming languages were movie genres, Perl would be:















    Results (173 votes). Check out past polls.

    Notices?