Skip to content
Snippets Groups Projects
Commit da057418 authored by Andreas Åkre Solberg's avatar Andreas Åkre Solberg
Browse files

clean up cookies for iframe slo spstate

git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@1115 44740490-163a-0410-bde0-09ae8108e29a
parent 3cb94788
No related branches found
No related tags found
No related merge requests found
......@@ -134,6 +134,7 @@ function updateslostatus() {
$templistofsps = $session->get_sp_list(SimpleSAML_Session::STATE_ONLINE);
foreach ($templistofsps AS $spentityid) {
$session->set_sp_logout_completed($spentityid);
setcookie('spstate-' . sha1($spentityid) , '', time() - 3600); // Delete cookie
}
$objResponse->addScriptCall('slocompleted');
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment