From: Aaron Patterson Date: 2006-07-17T09:33:54+09:00 Subject: Re: Net::HTTP client side sessions? On Mon, Jul 17, 2006 at 06:03:41AM +0900, Brez! !! wrote: > Been looking through Net::HTTP for a way to manage a session [i.e. > cookies] on the client side but haven't had much luck.. Could anyone > point me in the right direction for a way to [short of writing it from > scratch of course] maintain a session id on the client side, i.e. I want > to be able to have my script engage in a session, e.g. logs in, makes a > post, etc [all stuff that requires my session is still valid].. > > Thanks Have you tried looking at WWW::Mechanize? It will maintain your cookies for you. http://mechanize.rubyforge.org/ --Aaron