One thing to check is does the ASP have any "browser type" logic in it? You can manually set the "browser type" for the LWP but it doesn't "default" to a Netscape or IE types. If the ASP has specific logic for version 4+ browsers then it may not be setup to handle "non-4+" browsers.
-Zac ----- Original Message ----- From: <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Monday, August 26, 2002 10:40 AM Subject: LWP and ASP Pages > I'm trying to test to make sure my web site is up by connecting to the > admin web page of my application. The admin web page is an ASP page and > whenever I set it up using: > > use HTTP::Request; > use LWP::UserAgent; > > $filename = D:\\temp\\msi.html"; > > $ua = LWP::UserAgent->new; > $url = "http://webserver/admin.asp"; > $req = new HTTP::Request (GET => $url); > $res = $ua->request($req, $filename); > if ($res->is_success) { > print "Got response back from web page\n"; > } else { > print "No response from web page.\n"; > exit; > } > > It always fails. I can take the URL and plug it into a browser and it > comes up just fine. Any ideas??? > > > Stanley G. Martin > Sprint - ISS Enterprise App/Decision Support Services > [EMAIL PROTECTED] > > _______________________________________________ Perl-Win32-Web mailing list [EMAIL PROTECTED] To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
