From: Alex Stahl Date: 2010-08-03T06:55:37+09:00 Subject: Re: How to save session using open-uri Try using Mechanize. It will handle all the session & cookie detail for you. On Mon, 2010-08-02 at 16:46 -0500, Arpit Tandon wrote: > I am trying to pull out some information from a site. > > There are 2 steps involved in order to get data from site. The first > step is a translation of the some user id to THEIR id. After the > translation is complete,use THEIR id to pull out information. This first > page is performing the translation step and is then forwarding the > results to the tool page. > I am able to get the first page but cant save session to resubmit the > information. > It is required that the resubmission must be within the original api > session as necessary session variables are also set in that first step. > > How can i keep session alive? > > Arpit