Hi, André Medeiros wrote: > <?php > session_start(); > if(!isset($_SESSION['greeted'])) { > echo "Welcome"; > $_SESSION['greeted'] = 1; > } > ?> It doesn't work :( if ($_SESSION['greeted'] == 1) print('Welcome ' . $name); $_SESSION['greeted'] is always equal to 1 as set in the beginning of the file. http://www.telbit.pt/2/login.php Warm Regards -- :wq! Mário Gamito -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php