Example #1
0
 /**
  */
 public function set($key, $val, array $opts = array())
 {
     global $session;
     if (!parent::set($key, $val, $opts)) {
         return false;
     }
     $data_keys = $this->_getKeys();
     if (empty($data_keys)) {
         $logout = new Horde_Registry_Logout();
         $logout->add($this);
     }
     $data_keys[] = $key;
     $session->set('horde', self::SESS_KEY, $data_keys);
     return true;
 }