public function pull($name, $value = '')
    {
        $value = $this->get($name, $value);
        $this->delete($name);

        return $value;
    }
public function pull($name, $value = '')
    {
        $value = $this->get($name, $value);
        $this->delete($name);

        return $value;
    }
public function pull ( $ name , $ value = '' ) { $ value = $ this -> get ( $ name , $ value ) ; $ this -> delete ( $ name ) ; return $ value ; }
To pull session data

@param string $name
@param string $value

@return mixed
To pull session data