Date: 04/19/00
- Next message: Andy Worthington: "[PHPLIB] sessions and frames"
- Previous message: nathan r. hruby: "Re: [PHPLIB] Auth Problem"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hi there,
Well, I almost have a solution for my authentication problem I had two days
ago.
The thing was that I wanted to figure out if a user is already logged into
the system. What Iīm doing now is setting nobody=true to use default
authentication. So when someone isnīt authenticated heīs logged in as
default user. When the user logs in now I do the following:
page_open(array("sess" => "Example_Session",
"auth" => "Example_Auth"));
if ($auth->auth["uid"] == "nobody") {
$auth->login_if("yes");
}
Then I get the login screen and there are no problems.
Now when I go back to the starting page Iīm still logged in as nobody and I
donīt now why because the authentication worked fine.
Maybe someone knows whatīs going wrong here.
Thanks
Boris
-
PHP3 Base Library Mailing List. Send messages to <phplib <email protected>>.
To unsubscribe, send "unsubscribe" to <phplib-request <email protected>> in
the body, not the subject, of your message.
- Next message: Andy Worthington: "[PHPLIB] sessions and frames"
- Previous message: nathan r. hruby: "Re: [PHPLIB] Auth Problem"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

