Session with http/net lib


#1

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