Link to home
Start Free TrialLog in
Avatar of rbickford
rbickford

asked on

Passwords and CGI scipts in PERL

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?
ASKER CERTIFIED SOLUTION
Avatar of unicorntech
unicorntech

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of rbickford
rbickford

ASKER

No it happens with all users. Even if the username and password are typed in again. It won't run the script. It as if the fact that there is data being posted stops it working. As I have said as soon as you do a refresh on the page, it remebers the password and runs, but without the posted data.
Avatar of ozo
WHat happens if you do a GET instead of a POST?