?
Solved

Passwords and CGI scipts in PERL

Posted on 1997-10-01
3
Medium Priority
?
264 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 4

Accepted Solution

by:
unicorntech earned 100 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

How to Create Failover DNS Record Sets in Route 53

Route 53 has the ability to easily configure DNS record sets specifically for failover scenarios. These failover record sets can be configured to failover to full-blown deployments in other regions or to a static HTML page that informs your customers of the issue.

Question has a verified solution.

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

This tutorial will discuss fancy secure registration forms, with AJAX technology support. In this article I assume you already know HTML and some JS. I will write the code using WhizBase Server Pages, so you need to know some basics in WBSP (you mig…
I hope you'll find this tutorial useful and interesting. So let's try to extend Tcl with a new package.  For anyone more deeply interested please check out the book "Practical Programming in Tcl and Tk". It's really one of the best written books abo…
This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.
In this fifth video of the Xpdf series, we discuss and demonstrate the PDFdetach utility, which is able to list and, more importantly, extract attachments that are embedded in PDF files. It does this via a command line interface, making it suitable …
Suggested Courses

801 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