Hi, For the question about displaying booleans :
echo "Auth is : ".print_r($boolean, true); For the question about "why am i not loggued in ?", cannot help you. Check step by step in the signin action, and ask for a more precise question. Good luck, Alexandre 2009/12/14 Guychmyrat Amanmyradov <[email protected]> > Hello. i am tring to implement sfGuard (for 1.0) . > What i changed is crypt method to md5. > When i try to signin. > > // signin > $this->setAttribute('user_id', $user->getId(), 'sfGuardSecurityUser'); > $this->setAuthenticated(true); > $this->clearCredentials(); > $this->addCredentials($user->getAllPermissionNames()); > > // save last login > $user->setLastLogin(time()); > $user->save($con); > > > $user->setLastLogin(time()); > it updates table. No problem. But it is not authenticating somehow. > > > die("auth is :" . $this->isAuthenticated()); > > Result is empty. > Result : > "auth is:" > > I could not understand why auth problem. Some authority problems? > > i created sfGuard module in my modules.i overried signin method. > > but never enters here : > > if( $this->getUser()->isAuthenticated() ) > > > Thanks in advance! > > > > > ------------------------------ > Yahoo! Türkiye açıldı! > Haber, Ekonomi, Videolar, Oyunlar hepsi Yahoo! Türkiye'de! > www.yahoo.com.tr <http://tr.yahoo.com/> > > -- > You received this message because you are subscribed to the Google Groups > "symfony users" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]<symfony-users%[email protected]> > . > For more options, visit this group at > http://groups.google.com/group/symfony-users?hl=en. > -- Alexandre Salomé http://alexandre-salome.fr -- You received this message because you are subscribed to the Google Groups "symfony users" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en.
