public function login(AIS2ServerConnection $serverConnection) { $connection = $serverConnection->getHttpConnection(); $connection->addCookie($this->cookie->getName(), $this->cookie->getValue(), 0, '/', $this->cookie->getDomain()); return true; }