do you get any output on the second page if you do this? <?php session_start(); print '<pre>'; print_r($_SESSION); print '</pre>'; if ( isset($_SESSION['logged_in'])){ echo "Welcome..."; }else{ header("location: user.php?action=9"); } ?> -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php