protected function getSessionSavePath($toAppend = null)
    {
        // load the default path
        $sessionSavePath = $this->getSessionSettings()->getSessionSavePath();

        // check if we've something to append
        if ($toAppend != null) {
            $sessionSavePath = $sessionSavePath . DIRECTORY_SEPARATOR . $toAppend;
        }

        // return the session save path
        return $sessionSavePath;
    }
protected function getSessionSavePath($toAppend = null)
    {
        // load the default path
        $sessionSavePath = $this->getSessionSettings()->getSessionSavePath();

        // check if we've something to append
        if ($toAppend != null) {
            $sessionSavePath = $sessionSavePath . DIRECTORY_SEPARATOR . $toAppend;
        }

        // return the session save path
        return $sessionSavePath;
    }
protected function getSessionSavePath ( $ toAppend = null ) { // load the default path $ sessionSavePath = $ this -> getSessionSettings ( ) -> getSessionSavePath ( ) ; // check if we've something to append if ( $ toAppend != null ) { $ sessionSavePath = $ sessionSavePath . DIRECTORY_SEPARATOR . $ toAppend ; } // return the session save path return $ sessionSavePath ; }
Returns the default path to persist sessions.

@param string $toAppend A relative path to append to the session save path

@return string The default path to persist session
Returns the default path to persist sessions .