Exemplo n.º 1
0
  public function clearSessionData()
  {
    parent::clearSessionData();

    // remove member cache
    $this->serializedMember = '';
  }
Exemplo n.º 2
0
 /**
  * Initializes the current user.
  *
  * @see sfBasicSecurityUser
  */
 public function initialize(sfEventDispatcher $dispatcher, sfStorage $storage, $options = array())
 {
     $sessionConfig = sfConfig::get('op_session_life_time');
     if (!empty($sessionConfig[sfConfig::get('sf_app')]['idletime'])) {
         $options['timeout'] = $sessionConfig[sfConfig::get('sf_app')]['idletime'];
     }
     parent::initialize($dispatcher, $storage, $options);
     $this->initializeCredentials();
 }