includes/Session.php
/**
     * Generate new session ID for current session
     * 
     * @param string $shouldDeleteOld
     * @return boolean
     */
Generate new session ID for current session

@param string $shouldDeleteOld
@return boolean
Generate new session ID for current session @param string $shouldDeleteOld @return boolean
public static function regenerateId($shouldDeleteOld = false) {
        $newSessionId = session_regenerate_id($shouldDeleteOld);
        if ($newSessionId) {
            Logger::getLogger()->LogDebug("Session ID regenerated, New Session ID: ". $newSessionId);
        }
        return $newSessionId;
    }
public static function regenerateId ( $ shouldDeleteOld = false ) { $ newSessionId = session_regenerate_id ( $ shouldDeleteOld ) ; if ( $ newSessionId ) { Logger :: getLogger ( ) -> LogDebug ( " Session ID regenerated, New Session ID:  " . $ newSessionId ) ; } return $ newSessionId ; }
Generate new session ID for current session
Generate new session ID for current session