[bcn-pm] Simple Robot

Angel Faus afaus at corp.vlex.com
Fri Nov 15 08:49:12 CST 2002


> I am running a script which retrieves the home page of a site, then
> gets another page linked from the home page.
> Problem is this seems to trigger two different sessions and I need
> the robot to retrieve pages within the same session
>
> Any ideas?

I think the problem is that LWP doesn't automatically resend the 
cookies that it has just received.

I've never used this before, but the LWP::UserAgent documentation 
refers to a "cookie_jar" method that maybe is what you are looking 
for.

Best,

-angel



More information about the Barcelona-pm mailing list