Date: 04/17/00
- Next message: Howard Ha: "RE: [PHPLIB] Authentication question"
- Previous message: Kristian Köhntopp: "[Fwd: [PHPLIB] blocking out class redefinitions]"
- Next in thread: Howard Ha: "RE: [PHPLIB] Authentication question"
- Reply: Howard Ha: "RE: [PHPLIB] Authentication question"
- Reply: Michael Chaney: "Re: [PHPLIB] Authentication question"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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.
- Next message: Howard Ha: "RE: [PHPLIB] Authentication question"
- Previous message: Kristian Köhntopp: "[Fwd: [PHPLIB] blocking out class redefinitions]"
- Next in thread: Howard Ha: "RE: [PHPLIB] Authentication question"
- Reply: Howard Ha: "RE: [PHPLIB] Authentication question"
- Reply: Michael Chaney: "Re: [PHPLIB] Authentication question"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

