Https authentication & storing https page in string

Hi,

I have to write a ruby script which will give me the dynamic page on a
https as a string.

First I have to login in the https page.
I am doing this using WATIR.
Then I want the dynamic page to be stored in a string str.

I am able to do the https login using WATIR.
But when I try to get the dynamic page using HPRICOT, I am still
getting the old https login page.

Kindly suggest what to do.

Regards,
ND

I forgot to say that the URL of the dynamic page is static.
It doesnot change.
But it seeks the authenticated session to be there to show the dynamic
content.

Regards,
Naveen D.

On 9/19/07, Naveen D. [email protected] wrote:

I am able to do the https login using WATIR.
But when I try to get the dynamic page using HPRICOT, I am still
getting the old https login page.

Kindly suggest what to do.

Regards,
ND


Naveen D.

Blog: http://www.dhanukanaveen.com

Gtalk: dhanukanaveen
Yahoo: dhanukanaveen
Skype: dhanukanaveen
MSN: dhanukanaveen

First I have to login in the https page.
I am doing this using WATIR.
Then I want the dynamic page to be stored in a string str.

I am able to do the https login using WATIR.
But when I try to get the dynamic page using HPRICOT, I am still
getting the old https login page.

Kindly suggest what to do.

Either do the authorization via Ruby Net::HTTP, or use the cookie the
site
sets for authentication, or use WATIR to save the page, and load the
saved
page.