how to use lwp to authenticate an apache server and keep the connection
dylan lim <[email protected]>
| Newsgroups | gmane.comp.lang.perl.modules.lwp |
|---|---|
| Message-ID | <[email protected]> |
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.