Re: [phplib] assuming 'nobody' after aborted login From: Paul Dixon (paul <email protected>)
Date: 12/24/00

> My approach would be use another variable for
> tracking the login progress, but maybe there were good reads for using the
> uid for this purpose?

That should read 'good reasons' rather than 'good reads' - my mental spell
checker is somewhat overdosed on Xmas spirit. I've patched auth.inc to work
the way I want it to. In a nutshell, my login form includes an extra hidden
parameter called new_login. In auth.inc, I use the existence of this to tell
if a login is in progress, rather than use a uid of 'form'. Instead, the uid
during login is simply 'nobody'. Seems to work a treat for me.

Hope that helps someone - Merry Xmas!

Paul

---------------------------------------------------------------------
To unsubscribe, e-mail: phplib-unsubscribe <email protected>
For additional commands, e-mail: phplib-help <email protected>