From: Markus Date: 2005-05-26T06:31:05+09:00 Subject: Re: Browsing with Cookies On Wed, 2005-05-25 at 06:30, Jim Van Fleet wrote: > I am writing an app that takes in some basic data and then scours some > known Internet locations for more data relevant to the input. > > One of them relys on cookies to get the data in a form I can use. > Net::HTTP appears not to use cookies, even if you're inside the same > .start block. > > Does open-uri offer cookies? I was under the impression that it was > more of a wrapper. > > Is there a way to provide a cookie? I could likely synthesize the > information that the server was looking for. > > Cheers, > > Jim I posted a solution to this as an example in the rails wiki; see http://wiki.rubyonrails.com/rails/show/ExampleCookieJarHelper and http://wiki.rubyonrails.com/rails/show/HowToRenderProxiedPages --MarkusQ