Re: [phplib] Auth expiration variation From: giancarlo pinerolo (ping <email protected>)
Date: 07/27/01

Is your auth->mode is set to 'reg'?

I found that there might be a block of code missing, in case the mode
for auth is 'reg'. That is, are shown a register form. or a login form?

Giancarlo

phplib wrote:
>
> I need for auth expiration to work a little differently for a site
> I'm working on. I use Default_Auth for most of the site, with a
> few admin pages that require actual authentication. This works
> fine. The problem is, if your authentication times out, you are
> prompted again for a password, even if you visit a page where
> "nobody" should work fine.
>
> Conversely, if you are authenticated as nobody and go to a
> protected page you get a permission denied page instead of a login
> page. This is not a problem because I just added a login link to
> perminvalid.ihtml.
>
> So, in a nutshell this is what I would like to achieve, and before
> I start extending the auth class I would like to know if someone
> has already done this: when your auth times out you should become
> nobody again.
>
> Sorry for the incoherent nature of this post -- my 2-month-old
> daughter kept me up all night last night!
>
> TIA
>
> --Jesse
>
> --
> Abbestellen mit Mail an: phplib-unsubscribe <email protected>
> Kommandoliste mit Mail an: phplib-help <email protected>

-- 
Abbestellen mit Mail an:   phplib-unsubscribe <email protected>
Kommandoliste mit Mail an: phplib-help <email protected>