Re: Q on "inhert" class code
| From: | jsWalter | Date: | Thu, 04 Sep 2003 20:43:44 +0000 |
| Subject: | Re: Q on "inhert" class code | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-161690@lists.php.net to get a copy of this message | ||
Evans, thx for your effort.
I see what your says, as I noticed the trouble at 3 this morning!
This is how I fixed it...
$session = &Auth::_importGlobalVariable("session");
$session[$this->_sessionName]['data']['_loginAttempts'] =
$this->_loginAttempts;
Pretty much the way you indicated.
But then, as I read more, decoded the Class in my head more, I noticed that
they had a method to deal with this issue. So I figured I'd juut use that
method, in case something changes in future it won't bite me!
// Store class var in session data
Auth::setAuthData('_loginAttempts', $this->_loginAttempts);
Thanks for your help.
Walter