Date: 08/05/01
- Next message: Kristian Koehntopp: "Re: [phplib] default authentication, anyone using it?"
- Previous message: Jeff Stuart: "Re[2]: [phplib] [RFC] Future of phplib"
- In reply to: Tarique Sani
email protected>>: "Re: [phplib] default authentication, anyone using it?" - Next in thread: Kristian Koehntopp: "Re: [phplib] default authentication, anyone using it?"
- Reply: Kristian Koehntopp: "Re: [phplib] default authentication, anyone using it?"
- Reply: Dr Tarique Sani
email protected>>: "Re: [phplib] default authentication, anyone using it?" - Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Tarique Sani wrote:
>
> The main problems was login_if() function. I would like to see
> login_if() work for something like login_if(!$have_perm blah blah...
>
>
> > For me the biggest problem is the capability, for user 'nobody', to
> > store any user data
> > eg:
> > $user->register("whatever")
>
> Well I encountered this and my work around was not to register user data
> for nobody but keep it as sesion data and when ever the person logs in
> transfer it to user data
>
> I hope I am coherent enough ... ...
>
Yes, I know the problem perfectly... swap data from session to user once
he becomes 'somebody'.
But What do you think of taking away altogether the 'user' storage for
nobody? That leads to quite a few programming mistakes, and extra checks
to be done whenever you register or freeze or page_close.
Giancarlo
-- Abbestellen mit Mail an: phplib-unsubscribe <email protected> Kommandoliste mit Mail an: phplib-help <email protected>
- Next message: Kristian Koehntopp: "Re: [phplib] default authentication, anyone using it?"
- Previous message: Jeff Stuart: "Re[2]: [phplib] [RFC] Future of phplib"
- In reply to: Tarique Sani
email protected>>: "Re: [phplib] default authentication, anyone using it?" - Next in thread: Kristian Koehntopp: "Re: [phplib] default authentication, anyone using it?"
- Reply: Kristian Koehntopp: "Re: [phplib] default authentication, anyone using it?"
- Reply: Dr Tarique Sani
email protected>>: "Re: [phplib] default authentication, anyone using it?" - Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

