[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.ruby

Session with http/net lib

Krzysztof Kotlarek

2/26/2009 6:28:00 PM

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-....