This is resolved. We finally figured out that we needed to use the
ignore_discard option in the cookie_jar and save the cookies to disk.
$agent->cookie_jar( HTTP::Cookies->new(
'file' => $cookiefile,
# where to read/write cookies
'autosave' => 1,
# save it to disk when done
c
# save even cookies that are requested to be discarded
));
It would have saved a lot of time if this were mentioned somewhere within
the documentation of the mechanize cpan page.
Thanks,
Doug
"WWW-Mechanize"
<bug-WWW-Mechaniz
e@rt.cpan.org> To
dnelson@cso.com
06/21/2005 04:57 cc
PM
Subject
[cpan #13356] AutoReply: Please
Please respond to Help - How can I retrieve a pdf
bug-WWW-Mechanize document from a web page?
@rt.cpan.org
Greetings,
This message has been automatically generated in response to your
bug report about WWW-Mechanize, a summary of which appears below.
There is no need to reply to this message right now. Your bug in
WWW-Mechanize has been assigned an ID of [cpan #13356]. Please include the
string:
[cpan #13356]
in the subject line of all future correspondence about this issue. To do
so,
you may reply to this message.
Thank you,
bug-WWW-Mechanize@rt.cpan.org
-------------------------------------------------------------------------
Please can someone let me know how to retrieve a pdf document from a
webpage?
$agent->{content} returns the last "real" html page. How do I get the pdf
document?
Thanks,
Doug