public function setTo($namespace, $key, $value = null)
    {
        $oldNamespace = $this->namespace;
        $this->setNamespace($namespace);
        $this->set($key, $value);
        $this->setNamespace($oldNamespace);
    }
public function setTo($namespace, $key, $value = null)
    {
        $oldNamespace = $this->namespace;
        $this->setNamespace($namespace);
        $this->set($key, $value);
        $this->setNamespace($oldNamespace);
    }
public function setTo ( $ namespace , $ key , $ value = null ) { $ oldNamespace = $ this -> namespace ; $ this -> setNamespace ( $ namespace ) ; $ this -> set ( $ key , $ value ) ; $ this -> setNamespace ( $ oldNamespace ) ; }
Set session value or array of values to specific namespace

@param string     $namespace Session namespace
@param mixed      $key       Session key or an array of keys and values
@param mixed|null $value     Session value to set if key is not an array
Set session value or array of values to specific namespace