Well, if you want to go down that road....you could investigate using
Navigate2 on the internal ie ole_object.

ie = IE.new
ie.ie.Navigate2('http://www.google.com',0,'','')

Navigate2 takes 4 possible parameters: url, a constant flag for options,
postdata, and headers.

The postdata and headers are just strings of standard http headers and
whatever form data you want to send.

There's information on the Navigate2 command on msdn:
http://msdn.microsoft.com/workshop/browser/webbrowser/reference/methods/navigate2.asp

Basic authentication through apache can be sent through the headers if I
remember correctly.

-Charley


On 3/22/07, Oscar <[EMAIL PROTECTED]> wrote:

Thanks, I'm looking into it now.

Another thing I thought of with the help of someone at my work was to send
the http headers along with my request for the url. I fired up Ethereal to
capture the packets and found out some information about the http get I'm
doing when the username and password get sent.

So if I can find a way to integrate this request into my initial ie open
$url then I think I can get past this with minimal hassles. But I haven't
found a way to send a custom http header with the url request.

O.
_______________________________________________
Wtr-general mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/wtr-general

_______________________________________________
Wtr-general mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/wtr-general

Reply via email to