protected function sessionPut($var, $value)
    {
        if ($this->stateless) {
            return $value;
        }

        $this->getRequest()->session()->put(
            $this->makeSessionVarName($var),
            $value
        );

        return $value;
    }
protected function sessionPut($var, $value)
    {
        if ($this->stateless) {
            return $value;
        }

        $this->getRequest()->session()->put(
            $this->makeSessionVarName($var),
            $value
        );

        return $value;
    }
protected function sessionPut ( $ var , $ value ) { if ( $ this -> stateless ) { return $ value ; } $ this -> getRequest ( ) -> session ( ) -> put ( $ this -> makeSessionVarName ( $ var ) , $ value ) ; return $ value ; }
Put a var value to the current session.

@param $var
@param $value

@return mixed
Put a var value to the current session .