diff --git a/modules/metarefresh/bin/metarefresh.php b/modules/metarefresh/bin/metarefresh.php
index c12e1aaa6f3466079d64b7e89fb7c7cfbbf1e38f..bad5c37a06088ed244689f2371a6005396e78e9d 100755
--- a/modules/metarefresh/bin/metarefresh.php
+++ b/modules/metarefresh/bin/metarefresh.php
@@ -13,8 +13,6 @@ $baseDir = dirname(dirname(dirname(dirname(__FILE__))));
 // Add library autoloader.
 require_once($baseDir . '/lib/_autoload.php');
 
-SimpleSAML_Session::useTransientSession(); /* No need to try to create a session here. */
-
 if(!SimpleSAML\Module::isModuleEnabled('metarefresh')) {
 	echo("You need to enable the metarefresh module before this script can be used.\n");
 	echo("You can enable it by running the following command:\n");