RE: [Phplib-users] Re: Default Auth? 7.2d
Brought to you by:
nhruby,
richardarcher
|
From: Darryl M. <dar...@op...> - 2002-02-27 01:19:16
|
Thanks for that example on how to do this. I'll have a look into that th=
is
afternoon but looks promising.
-----Original Message-----
From: php...@li...
[mailto:php...@li...]On Behalf Of Bj=F6rn
Schotte
Sent: Wednesday, 27 February 2002 1:07 AM
To: php...@li...
Subject: Re: [Phplib-users] Re: Default Auth? 7.2d
Hi,
* Darryl Morgan wrote:
> login page to say I want to auth the user now and change the page_open(=
)
on
> each page to include authorisation. Not sure what other way you could =
go
> about this. Does anybody else have any suggestions?
Consider overwriting auth_preauth() in your own auth class:
function auth_preauth() {
return $this->auth_validatelogin();
}
and do an
$auth->login_if($again);
after your page_open() call. $again has to be set from your
login form (i.e. hidden field with value=3D"yes").
--
PHP-Support * realit=E4tsnahe Performance-Messungen mit Code-Analyse
Webapplikationsentwicklung * PHP-Schulungen * Consulting
0700-THINKPHP -*- bj...@th...
_______________________________________________
Phplib-users mailing list
Php...@li...
https://lists.sourceforge.net/lists/listinfo/phplib-users
|