[Last Call] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 273
  • Last Modified:

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?
0
rbickford
Asked:
rbickford
1 Solution
 
unicorntechCommented:
It sounds to me like the remote user has a problem with their browser. In Netscape and MSIE the browser will automatically remember a password protected site that has been logged into in that session and will not re-prompt for the password unless the browser is restarted. Is this a global problem or only a problem with this one user? If it is only local to that user ask them to reinstall or reconfigure their web browser. Let me know how it goes,

Regards,

Jason
0
 
rbickfordAuthor Commented:
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.
0
 
ozoCommented:
WHat happens if you do a GET instead of a POST?
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now