From: Hardy Henneberg Date: 2005-10-07T04:54:59+09:00 Subject: HTTP session Hi, It seems like I'm not able to establish a session, when I use NET::HTTP. Here is a snippet of my code: @h = Net::HTTP.new('xx.yy.com', 443) @h.use_ssl = true @h.start {|aSession| data = {} data.store("auth_type" ,"basic"); data.store("username" ,"hh"); data.store("password" ,"yy"); response, data = aSession.post('/logon',nil,data,nil); print response print "\n" print data response, data = aSession.get('/myOrders',nil); } The last 'get' redirects my to the logon page as if the session is lost here is the output: # # Object moved

Object Moved

This object may be found