in reply to Re: LWP::UserAgent gives ASP.NET error
in thread LWP::UserAgent gives ASP.NET error

Thanks for the responses.

You're correct the $login I supplied gives the same error page with both browser and robot! I tested it this morning on my office computer. My home computer must have used a cookie which made the page work, as I didn't get the same response from the robot and the browser then.

However now I've changed the $login to:
$login = "https://secure.video.uefa.com/Selfcare/default.aspx?navGraph +=Login&returnUrl=http://video.uefa.com/video/login.html&returnUrl2=ht +tp://video.uefa.com/video/login.html&style=";


It still gives the same error as below:
HTTP/1.1 200 OK Connection: close Date: Mon, 15 Oct 2007 08:47:07 GMT Accept-Ranges: bytes Server: Microsoft-IIS/6.0 Content-Length: 883 Content-Type: text/html ETag: "0ce8cbe4b1dc71:df1" Last-Modified: Mon, 11 Dec 2006 17:42:36 GMT Client-Date: Mon, 15 Oct 2007 08:47:07 GMT Client-Peer: 213.198.70.20:443 Client-SSL-Cert-Issuer: /C=BE/O=GlobalSign nv-sa/OU=ServerSign CA/CN=G +lobalSign ServerSign CA Client-SSL-Cert-Subject: /C=CH/ST=Vaud/L=Nyon/O=UEFA/OU=UEFA Media Tec +hnologies SA/CN=secure.video.uefa.com Client-SSL-Cipher: EDH-RSA-DES-CBC3-SHA Client-SSL-Warning: Peer certificate not verified Set-Cookie: AlteonP=2b2bfcaa2b2bfcf2a52fba71; path=/ Title: Error X-Meta-GENERATOR: Microsoft Visual Studio .NET 7.1 X-Meta-Originator: Microsoft Visual Studio .NET 7.1 X-Meta-ProgId: VisualStudio.HTML X-Powered-By: ASP.NET Error! Message: undefined
The browser page now works okay, with cookies switched off and with same query string so that's not a problem. I just need to get the same page using the robot as the browser as I need to take out a few params so I can then automatically log in (most notably the massive VIEWSTATE).

Thanks, Tommy