Session with cookie

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…

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

HOOOOORAaaayy!!!

Thanks so much Ilan!!..It’s exelent this. it;'s was what i needjust is
just what i was looking for.

Salu2!..:smiley:

On Tue, Feb 19, 2008 at 4:49 PM, Ilan B. <