diff options
Diffstat (limited to 'php/Attic/examples/sample-sp')
| -rw-r--r-- | php/Attic/examples/sample-sp/assertionConsumer.php | 4 | ||||
| -rw-r--r-- | php/Attic/examples/sample-sp/index.php | 7 |
2 files changed, 4 insertions, 7 deletions
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 <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> |
