Re: [PHPLIB] logout boggle From: Manuel Hossfeld (lists <email protected>)
Date: 01/27/00

Hi,

> <?php
> page_open(
> array("sess"=>"CS_Session",
> "auth"=>"Example_Auth",
> "perm"=>"Example_Perm"));
> $perm->check("admin");
>
> echo "inloggad";
>
> unauth($nobody=false);
>
> page_close();
> ?>
>
> however neither unauth($nobody=false) or
logout($nobody=$this=>$nobody)
> does anything but return "Call to unsupported
function"

unauth() is a member function of the $auth object, which
you forgot to specify.
So it should read

$auth->unauth($nobody=false);

(instead of just "unauth($nobody=false);" )

CU,
Manuel
-
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.