Re: Session with cookie

Ilan Berci
Tue, 19 Feb 2008 21:49:27 -0000

masch wrote:
> Hi!.
> I wonder if it''s possible to make a program in ruby that can log
in some
> page that required a cookie. Once i''m login into the page i have
to
> parse
> some html, but first i need to log in, Somebody know how to do this?
>
> Salu2...

https://rubyforge.org/projects/mechanize/

Mechanize will handle all your cookie details and follow redirects..

hth

ilan


--
Posted via http://www.ruby-forum.com/.