Solved

Passwords and CGI scipts in PERL

Posted on 1997-10-01
3
241 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

Find Ransomware Secrets With All-Source Analysis

Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

Join & Write a Comment

This article is meant to give a basic understanding of how to use R Sweave as a way to merge LaTeX and R code seamlessly into one presentable document.
Active Directory replication delay is the cause to many problems.  Here is a super easy script to force Active Directory replication to all sites with by using an elevated PowerShell command prompt, and a tool to verify your changes.
Learn how to match and substitute tagged data using PHP regular expressions. Demonstrated on Windows 7, but also applies to other operating systems. Demonstrated technique applies to PHP (all versions) and Firefox, but very similar techniques will w…
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)

762 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

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now