Passwords and CGI scipts in PERL
Posted on 1997-10-01
I have a user logging in correctly, to run a CGI/PERL script in a CGI-BIN directory that is password protected. I can display that REMOTE_USER variable so I know that it is working. If the user enters data into a form and this is then posted to another CGI/PERL script in the same directory the user is faced with another login box, where nothing works. If the user cancels this box, they get an "Authorisation required" text. If they then do a page refresh the script runs succesfully, displaying the REMOTE_USER info, but obviously the POSTED data is lost. Any clues?