> -----Original Message-----
> From: Mark Maunder [mailto:[EMAIL PROTECTED]]
> Sent: Monday, July 23, 2001 2:09 PM
> To: Kevin Harwood; Beginners@Perl. Org
> Subject: RE: parsing a session id out of LWP::
>
>
> The URL is what you're requesting. Unless you receive a
> redirect with LWP::UserAgent, you must know what you're
> requesting. Either its the first page you hit on the site, or
> you've grabbed the URL from an HREF in a requested document.
> To avoid transparent redirects, subclass LWP::UserAgent and
> override $ua->redirect_ok so that it returns false.
I think he needs to allow the redirect to occur and then grab the 'base'
value of the HTTP::Response returned by LWP:UserAgent. Wouldn't that allow
him to grab the session ID added by the server?
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]