ILIAS  release_5-4 Revision v5.4.26-12-gabc799a52e6
shib_logout.php File Reference

Go to the source code of this file.

Namespaces

 ilias
 redirection script todo: (a better solution should control the processing via a xml file)
 

Functions

while($session_entry=$r->fetchRow(ilDBConstants::FETCHMODE_ASSOC)) unserializesession ($serialized_string)
 

Variables

if(isset($_GET['return']) &&isset($_GET['action']) && $_GET['action']=='logout') elseif(!empty($HTTP_RAW_POST_DATA)) else
 
 $url = filter_var("https://{$_SERVER['HTTP_HOST']}/shib_logout.php", FILTER_SANITIZE_URL)
 
 echo;exit;}function LogoutNotification($SessionID){ global $ilDB;$q="SELECT session_id, data FROM usr_session WHERE expires >
 
 $r = $ilDB->query($q)
 

Function Documentation

◆ unserializesession()

while ( $session_entry=$r->fetchRow(ilDBConstants::FETCHMODE_ASSOC)) unserializesession (   $serialized_string)

Definition at line 170 of file shib_logout.php.

References $i.

171 {
172  $variables = array();
173  $a = preg_split("/(\w+)\|/", $serialized_string, -1, PREG_SPLIT_NO_EMPTY | PREG_SPLIT_DELIM_CAPTURE);
174  for ($i = 0; $i < count($a); $i = $i + 2) {
175  $variables[$a[$i]] = unserialize($a[$i + 1]);
176  }
177 
178  return ($variables);
179 }
$i
Definition: disco.tpl.php:19

Variable Documentation

◆ $r

$r = $ilDB->query($q)

Definition at line 145 of file shib_logout.php.

◆ $url

$url = filter_var("https://{$_SERVER['HTTP_HOST']}/shib_logout.php", FILTER_SANITIZE_URL)

Definition at line 70 of file shib_logout.php.

◆ echo;exit;}function LogoutNotification($SessionID){ global $ilDB;$q="SELECT session_id, data FROM usr_session WHERE expires >

echo; exit;}function LogoutNotification( $SessionID){ global $ilDB; $q="SELECT session_id, data FROM usr_session WHERE expires >

Definition at line 144 of file shib_logout.php.

◆ else

if (isset( $_GET[ 'return']) &&isset( $_GET[ 'action']) &&$_GET[ 'action']=='logout') elseif (!empty( $HTTP_RAW_POST_DATA)) else
Initial value:
{
header('Content-Type: text/xml')

Definition at line 67 of file shib_logout.php.