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

Version: phplib7.2c

I'm using default authentication for a site that will provide enhanced
functionality to properly logged in users. Users who don't log in get to do
most 'read only' actions, but must log in to do anything interesting.

This works fine, but if a user hits the login button, their uid is changed
from 'nobody' to 'form' until they complete the login process. If they
navigate away from the login to a page that uses default authentication, the
uid of 'form' isn't recognized and the user is continually asked to login
from that point.

Anyone know of a standard patch for auth.inc that fixes this? I'd rather not
tinker with it myself. 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?

Any tips/insights welcomed.

Paul Dixon
paul at elphin dot com

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