I think you pretty much got it - grab the first page, extract the login form, post it back. Lather, rinse, repeat.<br><br>I use curl to grab the pages, rather than links, but the principal is the same. Curl has bindings for perl, php, and othe languages, as well as a C library.<br>
<br>Ralph Mitchell<br><br><br><div class="gmail_quote">On Wed, Oct 29, 2008 at 6:23 PM, Everett, Vernon <span dir="ltr"><<a href="mailto:Vernon.Everett@woodside.com.au">Vernon.Everett@woodside.com.au</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div vlink="purple" link="blue" lang="EN-US">
<div dir="ltr" align="left"><span><font color="#0000ff" size="2" face="Arial">Hi</font></span></div>
<div dir="ltr" align="left"><span><font color="#0000ff" size="2" face="Arial"></font></span> </div>
<div dir="ltr" align="left"><span><font color="#0000ff" size="2" face="Arial">In a previous job, we had a similar requirement, and I was
unable to find a way round this problem.</font></span></div>
<div dir="ltr" align="left"><span><font color="#0000ff" size="2" face="Arial">I eventually wrote a custom hobbit script, that used links
(a text based web browser) with a links script to navigate the web page, enter
the login info, and then check the output.</font></span></div>
<div dir="ltr" align="left"><span><font color="#0000ff" size="2" face="Arial"></font></span> </div>
<div dir="ltr" align="left"><span><font color="#0000ff" size="2" face="Arial">It's a more complex solution than you probably want, but it
worked.</font></span></div>
<div dir="ltr" align="left"><span><font color="#0000ff" size="2" face="Arial">If anybody has a better solution, I am all for
it.</font></span></div>
<div dir="ltr" align="left"><span><font color="#0000ff" size="2" face="Arial"></font></span> </div>
<div dir="ltr" align="left"><span><font color="#0000ff" size="2" face="Arial">Regards</font></span></div>
<div dir="ltr" align="left"><span><font color="#0000ff" size="2" face="Arial"> Vernon</font></span></div><br>
<div dir="ltr" align="left" lang="en-us">
<hr>
<font size="2" face="Tahoma"><b>From:</b> Perumal, Santoshbabu
[mailto:<a href="mailto:santoshbabu_perumal@platts.com" target="_blank">santoshbabu_perumal@platts.com</a>] <br><b>Sent:</b> Thursday, 30 October
2008 12:56 AM<br><b>To:</b> <a href="mailto:hobbit@hswn.dk" target="_blank">hobbit@hswn.dk</a><br><b>Subject:</b> [hobbit] website
login-help Needed.<br></font><br></div><div><div></div><div class="Wj3C7c">
<div></div>
<div>
<div>
<p><font size="2" face="Arial"><span style="font-size: 10pt; font-family: Arial;">HI hobbit
gurus,</span></font></p>
<p><font size="2" face="Arial"><span style="font-size: 10pt; font-family: Arial;"></span></font></p>
<p><font size="2" face="Arial"><span style="font-size: 10pt; font-family: Arial;"> Is there any way that
we can monitor website logins. I know there is a way if the URL requires
authentication we can use</span></font></p>
<p><font size="2" face="Arial"><span style="font-size: 10pt; font-family: Arial;"></span></font></p>
<p><font size="2" face="Arial"><span style="font-size: 10pt; font-family: Arial;"><a href="http://USERNAME:PASSWORD@www.sample.com/" target="_blank">http://USERNAME:PASSWORD@www.sample.com/</a></span></font></p>
<p><font size="2" face="Arial"><span style="font-size: 10pt; font-family: Arial;"></span></font></p>
<p><font size="2" face="Arial"><span style="font-size: 10pt; font-family: Arial;">If URL does not require
authentication (uname and passwd) to get the page. But after get the page it has
SIGN IN boxes which I need to check periodically by giving username and
password. is this possible using hobbit. Please help
here.</span></font></p>
<p><font size="2" face="Arial"><span style="font-size: 10pt; font-family: Arial;"></span></font></p>
<p><font size="2" face="Arial"><span style="font-size: 10pt; font-family: Arial;">Thanks</span></font></p>
<p><font size="2" face="Verdana"><span style="font-size: 10pt; font-family: Verdana;">Santhoshbabu
Perumal</span></font></p>
<p><font size="2" face="Verdana"><span style="font-size: 10pt; font-family: Verdana;">Unix system
Administrator</span></font></p>
<p><font size="2" face="Verdana"><span style="font-size: 10pt; font-family: Verdana;">System Engineering, GO &
I</span></font></p>
<p><font size="2" face="Verdana"><span style="font-size: 10pt; font-family: Verdana;">The Mcgraw-Hill
companies</span></font></p>
<p><font size="2" face="Verdana"><span style="font-size: 10pt; font-family: Verdana;">HTS East Windsor, NJ</span></font></p>
<p><font size="2" face="Verdana"><span style="font-size: 10pt; font-family: Verdana;">609-371-6317
(Desk)</span></font></p>
<p><font size="2" face="Verdana"><span style="font-size: 10pt; font-family: Verdana;">609-385-5016 (work
cell)</span></font></p>
<p><font size="3" face="Verdana"><span style="font-size: 12pt; font-family: Verdana;"></span></font></p>
<p><font size="3" face="Times New Roman"><span style="font-size: 12pt;"></span></font></p></div></div>
<div><font size="1" face="Verdana">
<div style="margin: 0in 0in 0pt; text-align: center;" align="center">
<hr align="center" size="2" width="100%">
</div>
<p style="margin: 0in 0in 0pt 0.5in;"><span style="font-size: 10pt;"><font face="Times New Roman">The information contained
in this message is intended only for the recipient, and may be a confidential
attorney-client communication or may otherwise be privileged and confidential
and protected from disclosure. If the reader of this message is not the intended
recipient, or an employee or agent responsible for delivering this message to
the intended recipient, please be aware that any dissemination or copying of
this communication is strictly prohibited. If you have received this
communication in error, please immediately notify us by replying to the message
and deleting it from your computer. The McGraw-Hill Companies, Inc.
reserves the right, subject to applicable local law, to monitor and review the
content of any electronic message or information sent to or from McGraw-Hill
employee e-mail addresses without informing the sender or recipient of the
message.</font></span></p>
<div style="margin: 0in 0in 0pt; text-align: center;" align="center">
<hr align="center" size="2" width="100%">
</div></font></div></div></div><pre>NOTICE: This email and any attachments are confidential.
They may contain legally privileged information or
copyright material. You must not read, copy, use or
disclose them without authorisation. If you are not an
intended recipient, please contact us at once by return
email and then delete both messages and all attachments.
</pre></div>
</blockquote></div><br>