Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine

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?

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

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (12)
As of 2015-10-06 20:18 GMT
Find Nodes?
    Voting Booth?

    Does Humor Belong in Programming?

    Results (160 votes), past polls