[phplib] problems with relogin!! From: dominic.paschke <email protected>
Date: 10/06/00

Hi folks!

On my site I need partly default-authentication. When I
load this page everything works fin, but when I try to
relogin under a different user, I get the message:
password or username are invalid!!
But I know, that they are valid, because without this
default-authentication I can login!!! I hope anybody
can help me!

Thanxx in advance,

Dominic

<?php

include("prepend.php3");

page_open(array("sess" =>"My_Session",
                "auth" =>"My_Auth",
                "perm" =>"My_Perm"));
$auth->login_if($again);

  if ($auth->auth["uid"] == "nobody"):
?>

----- HTML-Code

<p><a href="<?php $sess->purl("$PHP_SELF?again=yes") ?>">Login</a>
to closed area...</p>
<?php endif ?>

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