public function remove($name, $namespace = null)
    {
        // Get previous value
        $value = $this->get($name, null, $namespace);

        // Set value
        $this->set($name, null, $namespace);

        // Return old value
        return $value;
    }
public function remove($name, $namespace = null)
    {
        // Get previous value
        $value = $this->get($name, null, $namespace);

        // Set value
        $this->set($name, null, $namespace);

        // Return old value
        return $value;
    }
public function remove ( $ name , $ namespace = null ) { // Get previous value $ value = $ this -> get ( $ name , null , $ namespace ) ; // Set value $ this -> set ( $ name , null , $ namespace ) ; // Return old value return $ value ; }
Removes a session variable.

@param string $name      The variable name.
@param string $namespace The namespace of the session variable.

@return mixed The old value of the variable, or NULL if not set.
Removes a session variable .