def Refresh(self, autoRelogin=False, dumpXml=YesOrNo.FALSE):
		"""
		Sends the aaaRefresh query to the UCS to refresh the connection (to prevent session expiration).
		"""
		self._Stop_refresh_timer()

		response = self.AaaRefresh(self._username, self._password, dumpXml)
		if (response.errorCode != 0):
			self._cookie = None
			if (autoRelogin):
				return self.Login(self._name, self._username, self._password, self._noSsl, self._port, dumpXml,
								  self._proxy, autoRefresh=YesOrNo.TRUE)
			return False

		self._domains = response.OutDomains
		self._priv = response.OutPriv.split(',')
		self._refreshPeriod = int(response.OutRefreshPeriod)
		self._cookie = response.OutCookie

		# re-enable the timer
		self._Start_refresh_timer()
		return True