Re: Login script and posting
Dan Rossi <liveuser-zu2dZaOKXTSc5qR/[email protected]>
| Newsgroups | gmane.comp.php.pear.liveuser |
|---|---|
| Message-ID | <[email protected]> |
On 21/06/2005, at 6:42 PM, Dan Rossi wrote: >> > > Yep the login event class is calling onUnfreeze instead of onLogin > randomly until i clear my session cookie, then the other events class > is calling forceLogin after i redirect to it. > > On closer look somehow a new session is being created between the two different even classes which are calling init in the constructor so its two completely different sessions. When I am redirecting to login.php in the forceLogin method of the otther even class i am trying to force a logout with $this->liveuser->logout(); and then the onPostLogout redirects back to login.php. Except in login.php the session in that is not destroyed so is called onUnfreeze and not forceLogin for some odd reason ?