[PHPLIB] Authentication question From: Boris Schleicher (bschleicher <email protected>)
Date: 04/17/00

Hi,
I have the following problem.
I'd like to use the function is_authenticated() to see if a user is already logged in. I use the following code fragement:

page_open(array("sess" => "Example_Session" , "auth" => "Example_Auth"));
$uid = $auth->is_authenticated();

When the user is already logged in I get the user id and this is ok.
Now if the user is not logged in, I get the login screen, but I don´t want this to happen. I just want the is_authenticated function to return a false, like it is said in the manual.
Maybe somebody how to make this work.

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.