jannschu@googlemail.com
12/15/2008 5:03:00 PM
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