Session with http/net lib

Hello.
I have to use sessions with http/net. Login form is simple:
res = Net::HTTP.post_form(URI.parse(www_url),
      {'login'=>'****', 'password'=>'**********'})
I have cookie of session in res.response['set-cookie']
How could i use my cookie and look into /secret-page

Thanks for your help

···

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