summaryrefslogtreecommitdiffstats
path: root/php/Attic/examples/sample-sp/index.php
diff options
context:
space:
mode:
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>