From 8976ed87f59de26aa31ce8bc471d49614bfbe008 Mon Sep 17 00:00:00 2001 From: Christophe Nowicki Date: Mon, 13 Sep 2004 12:32:31 +0000 Subject: split source code of singleSignOn.php in many functions added support for http basic authentification remove useless "?SID=" values --- php/Attic/examples/sample-sp/assertionConsumer.php | 4 ++-- php/Attic/examples/sample-sp/index.php | 7 ++----- 2 files changed, 4 insertions(+), 7 deletions(-) (limited to 'php/Attic/examples/sample-sp') diff --git a/php/Attic/examples/sample-sp/assertionConsumer.php b/php/Attic/examples/sample-sp/assertionConsumer.php index 1413fd59..5de00e98 100644 --- a/php/Attic/examples/sample-sp/assertionConsumer.php +++ b/php/Attic/examples/sample-sp/assertionConsumer.php @@ -128,7 +128,7 @@ $_SESSION["session_dump"] = $session->dump(); $_SESSION["user_id"] = $user_id; - $url = "index.php?SID=". $SID; + $url = "index.php"; } else { @@ -166,7 +166,7 @@ $_SESSION["session_dump"] = $session->dump(); $_SESSION["user_id"] = $user_id; - $url = "register.php?SID=". $SID; + $url = "register.php"; } // Update last_login diff --git a/php/Attic/examples/sample-sp/index.php b/php/Attic/examples/sample-sp/index.php index c7b2d39b..700198f4 100644 --- a/php/Attic/examples/sample-sp/index.php +++ b/php/Attic/examples/sample-sp/index.php @@ -52,10 +52,7 @@ You can get more informations about Lasso at
require_once 'DB.php'; - if (!empty($_GET['SID'])) - session_start($_GET['SID']); - else - session_start(); + session_start(); lasso_init(); @@ -90,7 +87,7 @@ You can get more informations about Lasso at
- Logout! + Logout! -- cgit