Re: extending Auth DB container
| From: | Ken Chew | Date: | Fri, 22 Mar 2002 00:14:57 +0000 |
| Subject: | Re: extending Auth DB container | ||
| References: | 1 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-1025@lists.php.net to get a copy of this message | ||
Yes, the problem occurs also when using the basic Auth class.
some how I need to set the variable to global before the session
can be set.
There are mention of similar cases in the documentation
comments on session.
On 21 Mar 2002, at 10:55, Martin Jansen wrote:
> On Thu, 21 Mar 2002 11:05:09 +0800, Ken Chew wrote:
>
> >Ok, done some testing and found that it could be a variable scoping
> >problem.
> >
> >It works if I change setAuth to something like:
>
> Could you please try if this problem also occurs if you
> try the "basic" Auth class (= without creating MyAuth)?
>
> - Martin
>
> --
> Martin Jansen, <mail@martin-jansen.de>
> http://www.martin-jansen.de/
>
>