how to use lwp to authenticate an apache server and keep the connection

Hi all,

I am using a perl script to authenticate with another perl script
which is protected by .htaccess which will in turn churn out a html
page. The links to the files on this page are protected by the same
..htaccess. Currently I am using LWP::UserAgent->new to access these
pages by supplying the username and password. It works fine when I try
to obtain these pages from my perl script. However, when I use the
links from these pages to reference itself, the pop up asking for
authentication appears again. Is there any way for me to make this
authentication persistent in the browser? Thank you for your time.
dylan.limwc [ Mi, 24 August 2005 11:19 ] [ ID #937069 ]
Perl » perl.libwww » how to use lwp to authenticate an apache server and keep the connection

Vorheriges Thema: LWP and cookies
Nächstes Thema: Urgent Help needed with Post method file upload