diff --git a/www/saml2/idp/SSOService.php b/www/saml2/idp/SSOService.php
index 5c8883ca3e462ebabbeb6d296a0f6fc61f1a7435..5ade30fd63816945d85c453d5309be46c9fccab0 100644
--- a/www/saml2/idp/SSOService.php
+++ b/www/saml2/idp/SSOService.php
@@ -414,16 +414,7 @@ if($needAuth && !$isPassive) {
 		}
 
 		$attributes = $authProcState['Attributes'];
-
 		
-		$host = SimpleSAML_Utilities::getSelfHost();;
-		preg_match("/^(\w+)/", $host, $d);
-		if ($d[1] && $d[1] != 'wayf') {
-			setcookie($d[1], "ok", 0, "/", ".wayf.ruc.dk");
-			setcookie('current', $d[1], 0, "/", ".wayf.ruc.dk");
-		}
-
-
 
 		/*
 		 * Save the time we authenticated to this SP. This can be used later to detect an