Forum: Ruby Session with http/net lib

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
Krzysztof K. (Guest)
on 2009-02-26 20:28
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
This topic is locked and can not be replied to.