Hi, let me show you my member.php. I have included your header in it and so far it still has the same problem. Thanks for your patience.
<?php
session_start ();
header('Expires: Mon, 26 Jul 1997 05:00:00 GMT');
header('Cache-Control: no-store, no-cache, must-revalidate');
header('Cache-Control: post-check=0, pre-check=0', FALSE);
header('Pragma: no-cache');
require_once ('all_fns.php');
$username = $HTTP_POST_VARS ['username'];
$passwd = $HTTP_POST_VARS ['passwd'];
display_header ();
?>
</table>
</center>
<?php
if ($username && $passwd)
{
if (login ($username, $passwd))
{
// if they are in the database, register the ID.
$HTTP_SESSION_VARS ['valid_user'] = $username ;
display_member ();
exit ();
}
else
{
//unsuccessful login
echo '<p align="center"> <b>You could not be logged in. You must be logged in to view this page.</b></p>';
display_login_form ();
exit ();
}
}
display_notloggedout ();
?>
<br/> <br/>
</html>