Hello to all LWP'ers again.  I've got a new problem.  The code that I used to log into 
several secure web sites doesn't want to work on a new web site.  Here is the code:

# Structure the HTTP request.
$myUserAgent = LWP::UserAgent->new;
$myUserAgent->agent("Automation/0.1");
$myUserAgent->cookie_jar(HTTP::Cookies->new(autosave => 1));

# Get the login page.
$myRequest = $myUserAgent->request(GET 
https://www.accessallstate.com/anon/login.aspx});

The problem is that the page that is retrieved via this code (i.e. what winds up in 
$myRequest->content) is not the same as if I just type in the URL in MS Explorer.  In 
Explorer, I get the login page as expected.  With the above code, I'm redirected to 
the "login FAQ".  I'm stumped.  Any help would be much appreciated.  Thanks,
Kenny


Reply via email to