From: "jannschu@..." Date: 2008-12-16T01:57:37+09:00 Subject: Re: How to login in a page whit a ruby program Hi, or you can use pure net/http from the standard lib. Then you only need managing the cookies: 1. load the login page and (if needed) extract the form data 2. create a login post reqeuest and send it, store the cookies (if some) and send them back next time 3. now you can open the next pages as if you were logged in That's all. Logout is simply open the logout page or send the logut post request. Mechanize just helps you storing your cookies. You will maybe also need something like nokogiri or hpricot for html parsing. jannschu