Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re: Mechanize and cookies

by ForgotPasswordAgain (Deacon)
on Dec 11, 2007 at 18:04 UTC ( #656440=note: print w/ replies, xml ) Need Help??

Comment on Re: Mechanize and cookies
Replies are listed 'Best First'.
Re^2: Mechanize and cookies
by bobdole (Beadle) on Dec 11, 2007 at 18:11 UTC
    Thanks I will take a look at that.

    I actually just used
    $mech->add_header( 'Cookie' => '...')
    and manually put in the value from my browser session and it worked fine in my script when I made a get call, so I think I will just parse out the cookie from the javascript and manually set it when I make calls to any of the pages on the site.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://656440]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (14)
As of 2015-09-03 14:15 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My preferred temperature scale is:










    Results (115 votes), past polls