How do I print out the cookies that Mechanized has stored?

Posted by Janak on Stack Overflow See other posts from Stack Overflow or by Janak
Published on 2010-04-02T11:04:23Z Indexed on 2010/04/02 11:13 UTC
Read the original article Hit count: 311

Filed under:
|
|
|

I'm using mechanize to login into a website and then retrieve a page. I'm running into some problems and I suspect this is due to some values in the cookies. When Mechanize logs into a website I assume it stores the cookies.

How do I print out all the data stored in the cookies by Mechanize?

© Stack Overflow or respective owner

Related posts about ruby-on-rails

Related posts about ruby