http://qs1969.pair.com?node_id=482501


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