From: Fox Date: 2006-02-14T21:33:26+09:00 Subject: post_form Hi, I'm trying to do auto login and mail checker script to check my webmail account http://webmail.razdva.cz/index.html. So I used post_form method for logging. res = Net::HTTP.post_form URI.parse('http://webmail.razdva.cz/index.html'), { "mode" => "login", "username"=>"user", "password"=>"pwd", "secure" => "0" } This call succeeds and res is HTTPFound, so I tried to download redirected page, but the server immediatelly logouts me. I think that problem is in cookies, becuase they are required by the server. Should I start some session prior to posting a form? Thanks a lot, Fox