Still getting the same message. This script used to work perfectly in an older version of php. Could it be a problem with how I am setting the sessions. Has anything changed with how we code sessions?
>It's because you are unregistering the valid_user variable, but, the >old_user var you defined early on still exists. So, "if >(!empty($old_user))" >will equal FALSE, giving you the result you are getting. Change it to "if >(!empty($valid_user))". > >Monty _________________________________________________________________ Chat with friends online, try MSN Messenger: http://messenger.msn.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php