summaryrefslogtreecommitdiffstats
path: root/php/Attic/examples/sample-sp/index.php
diff options
context:
space:
mode:
authorChristophe Nowicki <cnowicki@easter-eggs.com>2004-09-13 12:32:31 +0000
committerChristophe Nowicki <cnowicki@easter-eggs.com>2004-09-13 12:32:31 +0000
commit8976ed87f59de26aa31ce8bc471d49614bfbe008 (patch)
treeef43a154a5a669695f5ffa5ca8a947de5ee2eac1 /php/Attic/examples/sample-sp/index.php
parent19663b8864a6656f9baca0120276ff7607e1fedf (diff)
downloadlasso-8976ed87f59de26aa31ce8bc471d49614bfbe008.tar.gz
lasso-8976ed87f59de26aa31ce8bc471d49614bfbe008.tar.xz
lasso-8976ed87f59de26aa31ce8bc471d49614bfbe008.zip
split source code of singleSignOn.php in many functions
added support for http basic authentification remove useless "?SID=" values
Diffstat (limited to 'php/Attic/examples/sample-sp/index.php')
-rw-r--r--php/Attic/examples/sample-sp/index.php7
1 files changed, 2 insertions, 5 deletions
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 <b>Lasso</b> at <br>
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 <b>Lasso</b> at <br>
</tr>
<?php } else { ?>
<tr>
- <td><a href="logout.php?SID=<?php echo $SID ?>">Logout!</a></td>
+ <td><a href="logout.php">Logout!</a></td>
</tr>
<?php } ?>
</table>