hibernian has asked for the wisdom of the Perl Monks concerning the following question:
This could be me attempting to drive a square peg into a round hole - however, please humour me as I have a small problem.
A web application uses Apache and auth_mysql to provide password-protected access. The application then uses REMOTE_USER to determine how it runs and what is available to the authenticated user.
Now, I would like the opportunity to allow the user to log out and log in again as a different user, without closing the browser or restarting the web client.
I stupidly assumed that I could ask the web browser to undef the REMOTE_USER variable, but life is never as simple as this, is it?
Am I barking up the wrong tree or is there a method I can use in Perl?
My thanks in advance.
-Gregor-
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: undef-ing $ENV{'REMOTE_USER'} from within Perl?
by tadman (Prior) on Jul 11, 2001 at 20:54 UTC | |
by hibernian (Acolyte) on Jul 12, 2001 at 12:47 UTC | |
|
Re: undef-ing $ENV{'REMOTE_USER'} from within Perl?
by arturo (Vicar) on Jul 11, 2001 at 20:57 UTC | |
by Abigail (Deacon) on Jul 11, 2001 at 23:38 UTC | |
|
Re: undef-ing $ENV{'REMOTE_USER'} from within Perl?
by tachyon (Chancellor) on Jul 11, 2001 at 20:36 UTC |