sessionid nightmare update
| From: | Brad Sumrall | Date: | Sat, 28 Apr 2007 23:57:48 +0000 |
| Subject: | sessionid nightmare update | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-254095@lists.php.net to get a copy of this message | ||
I preformed a simple test.
<?php
ob_start();
session_start();
header("Cache-control: private");
require("includes/configure.php");
$conn=mysql_connect(DB_SERVER,DB_SERVER_USERNAME,DB_SERVER_PASSWORD);
mysql_select_db(DB_DATABASE) or die(mysql_error().": database
not available");
$show="no";
//if(isset($_SESSION['userid']) &&
$_SESSION['userid']!="")
echo $_SESSION['userid'];
?>
Logging in from /phpbb/login -> /contest.php does not work!
Logging in from main /index.php page does, and will display my
username??????
We are definitely getting closer.
Brad