I'm using LWP to access a site that sends several session only cookies.
Currently, I'm using request_simple, parsing out the header, saving the
cookies and extracting a 302 Location: header, then calling another
request_simple to that location, explicitly setting the cookies.

It occurred to me that $ua->request may handle all of this.  How does
$ua->request handle cookies -- is there a way to extract the cookies from
the $response variable?  In the event of an redirect (302), will the
useragent send the cookies it received in the first part of the request?

Finally, any cookie code examples would help.  I've read the documentation
on cookie_jar and  a litle on HTTP::Cookie, but I'm still stuck.

TIA,

Tac


Reply via email to