M
Mark
Hi,
I am trying to send a username and password from a perl script in
order to access documents in a directory secured by a .htaccess file.
I am using the location command to send the access details as part of
the url as follows;
print "Location:
http://username:password\@www.mysite.com/docs/show.htm\n\n";
The result is that the password box shows in the browser with the
username and password entered correctly but the user has to click ok
to access the documents.
I would much prefer the password box not to appear at all. If I enter
the url into the browser address window access is gained without the
password window showing.
Is there something I can add to the script to overcome this problem?
Many thanks,
Mark
I am trying to send a username and password from a perl script in
order to access documents in a directory secured by a .htaccess file.
I am using the location command to send the access details as part of
the url as follows;
print "Location:
http://username:password\@www.mysite.com/docs/show.htm\n\n";
The result is that the password box shows in the browser with the
username and password entered correctly but the user has to click ok
to access the documents.
I would much prefer the password box not to appear at all. If I enter
the url into the browser address window access is gained without the
password window showing.
Is there something I can add to the script to overcome this problem?
Many thanks,
Mark