Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
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
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 about the Monastery: (7)
As of 2014-09-18 10:00 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (110 votes), past polls