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 09, 2005 at 22: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 10: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 chanting in the Monastery: (2)
As of 2023-03-21 07:32 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Which type of climate do you prefer to live in?






    Results (59 votes). Check out past polls.

    Notices?