Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
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 having an uproarious good time at the Monastery: (13)
As of 2015-07-31 16:29 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (279 votes), past polls