[phplib] Auth - relogin From: INFO Jens Peter Möller (info <email protected>)
Date: 05/24/00

Hi,

I tried to add a link on all my protected pages,
to relogin at the startpage with another username.

<a href="index.html?again=yes">Relogin</a>
Note: I work only with cookies (intranet) and parse .html files

Top of index.html:
<?php
require("/usr/local/etc/httpd/phplib/php/redaktion_prepend.php3");
page_open(array
                ("sess"=>"redaktion_Session",
                "auth"=>"redaktion_Challenge_Auth",
                "user"=>"redaktion_User",
                "perm"=>"redaktion_Perm"));
$s++; $u++;
$auth->login_if($again);
$perm->check("Redakteur");
?>

If I come on index.html with again=yes, the
login-form is displayed. That's what I wan't.
But I can't login, the from doesn't accept
any username/password.
Without again=yes, I can login.

Where is the problem ?

Jens Peter Möller
info <email protected>

---------------------------------------------------------------------
To unsubscribe, e-mail: phplib-unsubscribe <email protected>
For additional commands, e-mail: phplib-help <email protected>