Re: Auth and auto_prepend_file
| From: | Jon Wood | Date: | Tue, 08 Apr 2003 22:41:02 +0000 |
| Subject: | Re: Auth and auto_prepend_file | ||
| References: | 1 2 3 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-4721@lists.php.net to get a copy of this message | ||
On Tue, 2003-04-08 at 02:45, Brad Hubbard wrote:
> On Tue, 8 Apr 2003 09:19 Australia/Melbourne, ASCII characters were aligned
> thusly:
> > I can't be sure what your problem is, but from that I'm guessing it's
> > one I've hit a couple of times... to get the active user after login it
> > seems you have to use $_SESSION["auth"]["username"] - I have no idea
> > why, but that seems to be how it is.
>
> OK.
>
> After much debugging, it turned out to be pilot error (my db table was called
> users, should've been called auth by default).
>
> Would I be offending anybody if I said the Auth package was difficult to
> debug ;-)
I very much doubt it - I've spent many an hour trying to decipher what
Auth is spitting out at me :P
Jon
>
> Cheers,
> Brad
>