From: Edwin Eyan Moragas Date: 2004-11-11T16:10:00+09:00 Subject: Re: How to POST HEADERS along with COOKIES On Thu, 11 Nov 2004 15:55:16 +0900, Daun Jaun wrote: > Hi > can any one please tell me how to post cookies; shud it be placed in the header > and if so in what format; > > ckyArr = ... # suppose i have an array of CGI::Cookie objects > > hdr['cookie']= unKnownFunc( ckyArr ) > > h=Net::HTTP.new( ... ) > > resp,body = h.post( path, query, hdr ) > # path has a program that expects cookies > # if cookies are not present or not in desired format it gives > # paramter format error : and access is denied > > To make this work what shud be unKnownFunc ..? > > Please some one help ; my whole project depends on this primarily ... ;-) http://raa.ruby-lang.org/project/http-access2/ -- i'm not flying. i'm falling... in style.