Beefy Boxes and Bandwidth Generously Provided by pair Networks DiBona
P is for Practical
 
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 ( [id://482501]=note: print w/replies, xml ) Need Help??

This is an archived low-energy page for bots and other anonmyous visitors. Please sign up if you are a human and want to interact.


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
Sections?
Information?
Find Nodes?
Leftovers?
    Notices?
    hippoepoptai's answer Re: how do I set a cookie and redirect was blessed by hippo!
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.