[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.ruby

https authentication & storing https page in string

Naveen Dhanuka

9/19/2007 1:49:00 PM

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

3 Answers

Phillip Gawlowski

9/19/2007 2:06:00 PM

0



> -----Original Message-----
> From: Naveen Dhanuka [mailto:email@dhanukanaveen.com]
> Sent: Wednesday, September 19, 2007 3:49 PM
> To: ruby-talk ML
> Subject: 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.

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.

--
Phillip Gawlowski


Tesla

1/12/2011 5:29:00 PM

0

On 1/12/2011 5:12 AM, zeez wrote:
> On Jan 9, 6:35 am, "Butcheress"<butcher...@malemeat.com> wrote:
>> Hi,
>>
>> I'm a sadistic butcheress and a cannibal woman and I'm looking for fresh
> The FBI would probaly be very interested


Yeah. They'd probably like to hire her.


ForeverRent

1/12/2011 6:15:00 PM

0

On Jan 12, 11:28 am, Tesla <nic...@nicotesla.net> wrote:
> On 1/12/2011 5:12 AM, zeez wrote:
>
> > On Jan 9, 6:35 am, "Butcheress"<butcher...@malemeat.com>  wrote:
> >> Hi,
>
> >> I'm a sadistic butcheress and a cannibal woman and I'm looking for fresh
> >   The FBI would probaly be very interested
>
> Yeah. They'd probably like to hire her.

Why?-F.R.