Solved

Passwords and CGI scipts in PERL

Posted on 1997-10-01
3
246 Views
Last Modified: 2013-12-25
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
Comment
Question by:rbickford
3 Comments
 
LVL 4

Accepted Solution

by:
unicorntech earned 50 total points
ID: 1830700
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
 

Author Comment

by:rbickford
ID: 1830701
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
 
LVL 84

Expert Comment

by:ozo
ID: 1830702
WHat happens if you do a GET instead of a POST?
0

Featured Post

Resolve Critical IT Incidents Fast

If your data, services or processes become compromised, your organization can suffer damage in just minutes and how fast you communicate during a major IT incident is everything. Learn how to immediately identify incidents & best practices to resolve them quickly and effectively.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In this tutorial I will aim to show you how simple is making a small application in WhizBase, how to add, remove and update data in the DB. I will make a small address book application where you can add, browse, update and remove addresses. I wi…
It is becoming increasingly popular to have a front-page slider on a web site. Nearly every TV website,  magazine or online news has one on their site, and even some e-commerce sites have one. Today you can use sliders with Joomla, WordPress or …
Learn the basics of if, else, and elif statements in Python 2.7. Use "if" statements to test a specified condition.: The structure of an if statement is as follows: (CODE) Use "else" statements to allow the execution of an alternative, if the …
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…

856 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question