summaryrefslogtreecommitdiffstats
path: root/php/Attic/examples/sample-sp/index.php
diff options
context:
space:
mode:
authorChristophe Nowicki <cnowicki@easter-eggs.com>2004-08-19 13:55:00 +0000
committerChristophe Nowicki <cnowicki@easter-eggs.com>2004-08-19 13:55:00 +0000
commitd6c3b12af8f5708f5969cb3d66dcd2e63fad1612 (patch)
tree90d8a3f0b46e0973e7c3948882eff048e8b82e60 /php/Attic/examples/sample-sp/index.php
parentc1a38e82080f75795b89c064a301f29c0278e87d (diff)
logout
Diffstat (limited to 'php/Attic/examples/sample-sp/index.php')
-rw-r--r--php/Attic/examples/sample-sp/index.php7
1 files changed, 5 insertions, 2 deletions
diff --git a/php/Attic/examples/sample-sp/index.php b/php/Attic/examples/sample-sp/index.php
index 9f8b1b5f..0b36a188 100644
--- a/php/Attic/examples/sample-sp/index.php
+++ b/php/Attic/examples/sample-sp/index.php
@@ -38,7 +38,7 @@
require_once 'DB.php';
- session_start();
+ session_start($SID);
lasso_init();
@@ -83,7 +83,7 @@
</tr>
<?php } else { ?>
<tr>
- <td><a href="logout.php">Logout!</a></td>
+ <td><a href="logout.php?SID=<?php echo $SID ?>">Logout!</a></td>
</tr>
<?php } ?>
</table>
@@ -130,6 +130,9 @@
<td><b>First Name:</b></td><td><?php echo $first_name; ?></td>
</tr>
<tr>
+ <td><b>PHP Session ID:</b></td><td><?php echo session_id(); ?></td>
+</tr>
+<tr>
<td><b>Account Created:</b></td><td><?php echo $created; ?></td>
</tr>
<tr>