public function trackLogin(
        $sid = null,
        $cookieId = null,
        $userId = null
    ) {
        $this->setupLoginTracking($sid, $cookieId, $userId);
        return $this->applyTracking();
    }
public function trackLogin(
        $sid = null,
        $cookieId = null,
        $userId = null
    ) {
        $this->setupLoginTracking($sid, $cookieId, $userId);
        return $this->applyTracking();
    }
public function trackLogin ( $ sid = null , $ cookieId = null , $ userId = null ) { $ this -> setupLoginTracking ( $ sid , $ cookieId , $ userId ) ; return $ this -> applyTracking ( ) ; }
Track login of a user

@param string $sid session id (if empty, then try to set using the function session_id() )
@param string $cookieId cookie id (optional)
@param string $userId id of user who logged in
@return boolean $success
Track login of a user