[pmwiki-users] retrieving user id (pmwiki2.1-beta20)

Patrick R. Michaud pmichaud at pobox.com
Mon Jan 16 10:45:36 CST 2006


On Mon, Jan 16, 2006 at 04:32:26PM +0000, Antony Templier wrote:
> Antony Templier <z3l <at> free.fr> writes:
> 
> 
> > Is it a modification, a bug or a misunderstanding from myself ? ...
> 
> That's a misunderstanding ;-)
> 
> I found this in the Changelog pmwiki2.1-beta20: 
> Redesigned/improved handling of session authorization variables.
> 
> Sorry for the buzz.
> 
> I feel now the best way is to used $_SESSION['authid'][0] 
> for pmwiki 2.1-beta20

Actually, starting with 2.1.beta21 the best way will be to
use $AuthId, which will automatically be set by scripts/authuser.php.
I just haven't had a chance to put in the necessary changes.

Pm




More information about the pmwiki-users mailing list