protected function setCookie($name, $value)
{
$prefixedName = 'idpdisco_' . $this->instance . '_' . $name;
$params = array('lifetime' => 60 * 60 * 24 * 90, 'path' => $this->config->getBasePath(), 'httponly' => false);
\SimpleSAML\Utils\HTTP::setCookie($prefixedName, $value, $params, false);
}