public function sessionGet($var = null, $default = null)
    {
        if ($this->stateless) {
            return $default;
        }

        return $this->getRequest()->session()->get(
            $this->makeSessionVarName($var),
            $default
        );
    }
public function sessionGet($var = null, $default = null)
    {
        if ($this->stateless) {
            return $default;
        }

        return $this->getRequest()->session()->get(
            $this->makeSessionVarName($var),
            $default
        );
    }
public function sessionGet ( $ var = null , $ default = null ) { if ( $ this -> stateless ) { return $ default ; } return $ this -> getRequest ( ) -> session ( ) -> get ( $ this -> makeSessionVarName ( $ var ) , $ default ) ; }
Get a session var value.

@param null $var

@return mixed
Get a session var value .