Forum: Ruby Session with http/net lib

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
Krzysztof K. (Guest)
on 2009-02-26 20:28
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.